Wireshark-commits: [Wireshark-commits] master 50dff6e: Make sure we zero out the newly allocated li
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 22 Feb 2017 00:33:50 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=50dff6eac41bbe22e1436af1301628eb3462bf8a
Submitter: Jörg Mayer (jmayer@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

50dff6e by Joerg Mayer (jmayer@xxxxxxxxx):

    Make sure we zero out the newly allocated list, otherwise g_list append may
    dereference ->next containing an arbitrary value.
    
    Bug: 13418
    Change-Id: I240bc03e652ede557083379cc81b81ae83d720e5
    Reviewed-on: https://code.wireshark.org/review/20235
    Reviewed-by: Jörg Mayer <jmayer@xxxxxxxxx>
    

Actions performed:

    from  b9851c7   Snort: use GRegex to find pcre matches
    adds  50dff6e   Make sure we zero out the newly allocated list, otherwise g_list append may dereference ->next containing an arbitrary value.


Summary of changes:
 caputils/capture-pcap-util.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)