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] master-2.4 7881bd9: Fix crash (null pointer deref) when spec

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 27 Apr 2018 09:36:21 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7881bd9561c32c577e42be753682894bc30f1b36
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark

Commits:

7881bd9 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/27176
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  fb7f39d   Fix crash (double-free) on refreshing interfaces list
    adds  7881bd9   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(-)