Wireshark-commits: [Wireshark-commits] master-2.6 c12b1f3: Fix crash (null pointer deref) when spec
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 27 Apr 2018 09:36:00 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c12b1f3f65c288f5e7d6421f67dcd269f33647d3
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master-2.6
Repository: wireshark

Commits:

c12b1f3 by Peter Wu (peter@xxxxxxxxxxxxx):

    Fix crash (null pointer deref) when specifying an interface option
    
    Some callers set err_str=NULL if they are not interested in the message.
    Crash was reproduced with "tshark -i lo".
    
    Bug: 14632
    Change-Id: I86c68998905fce86328529bd47d55d9e9aa68ea0
    Fixes: v2.9.0rc0-320-gcfc15838bd ("Fix crash (double-free) on refreshing interfaces list")
    (cherry picked from commit baa6e1763d56a8127305ffffd93787d0bc264c2f)
    Reviewed-on: https://code.wireshark.org/review/27175
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  2dd7896   coap: Store ctype values in transaction tracking
    adds  c12b1f3   Fix crash (null pointer deref) when specifying an interface option


Summary of changes:
 capchild/capture_ifinfo.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)