Wireshark-commits: [Wireshark-commits] master-2.4 7c89f7e: DNS: replace g_strsplit by wmem_strsplit

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

Commits:

7c89f7e 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/27529
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  0e67d8b   Q.931: fix use-after-free (write) of "q931_pi"
    adds  7c89f7e   DNS: replace g_strsplit by wmem_strsplit


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