Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] lts-1.12.1 fedf79a: Protect dissector_get_(default_)string_h

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 22 Sep 2015 20:36:03 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=fedf79aea0cf8a8719966a83343171b14ca629d4
Submitter: Balint Reczey (balint@xxxxxxxxxxxxxxx)
Changed: branch: lts-1.12.1
Repository: wireshark

Commits:

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

    Protect dissector_get_(default_)string_handle() against NULL input string
    
    Bug: 11381
    Change-Id: Ib102a23b3d840144757ce692312ff13009c5c95e
    Reviewed-on: https://code.wireshark.org/review/9717
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    (cherry picked from commit eb1ccbdccde89701f255f921d88992878057477d)
    Reviewed-on: https://code.wireshark.org/review/9721
    (cherry picked from commit 5470a4dd6230bb9fc4ab7a2c609c97dcf61f2017)
    Reviewed-on: https://code.wireshark.org/review/10584
    Reviewed-by: Balint Reczey <balint@xxxxxxxxxxxxxxx>
    

Actions performed:

    from  2b183bd   Fix proto_tree_add_bytes_item() when we fail to decode number from string
    adds  fedf79a   Protect dissector_get_(default_)string_handle() against NULL input string


Summary of changes:
 epan/packet.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)