Wireshark-commits: [Wireshark-commits] master aba4d3a: ftype-guid.c: fix FT_GUID filtering

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 11 Nov 2016 16:17:46 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=aba4d3a3a7d8c7f97290621085a8fb7a33942847
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

aba4d3a by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    ftype-guid.c: fix FT_GUID filtering
    
    g_strlcpy copies at most n-1 bytes to ensure that the string is NULL terminated.
    
    Bug: 13121
    Change-Id: I4f1677c518e65eb58b79d72052520ecce8c51722
    Reviewed-on: https://code.wireshark.org/review/18743
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    

Actions performed:

    from  e723a89   [tvbuff] Fix tvb_find_guint16() searched_bytes is from start_offset(offset) and the while loop should be on searched_bytes.
    adds  aba4d3a   ftype-guid.c: fix FT_GUID filtering


Summary of changes:
 epan/ftypes/ftype-guid.c |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)