Wireshark-commits: [Wireshark-commits] master-2.2 5f8bd0c: DNS: replace g_strsplit by wmem_strsplit

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 14 May 2018 13:29:21 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5f8bd0c94ff6f1345aa49d58008c0343c995be6c
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

5f8bd0c by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    DNS: replace g_strsplit by wmem_strsplit
    
    It avoids leaking memory in case an exception is thrown during
    dissection
    
    Change-Id: Iab72bcb4cc1ac56e7ce5ff2693e3111aead03e7d
    Reviewed-on: https://code.wireshark.org/review/23464
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    (cherry picked from commit 85d742ef26970e35d16f16a9bea04a12ff618e17)
    Reviewed-on: https://code.wireshark.org/review/27531
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  ccb1ac3   Q.931: fix use-after-free (write) of "q931_pi"
    adds  5f8bd0c   DNS: replace g_strsplit by wmem_strsplit


Summary of changes:
 epan/dissectors/packet-dns.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)