Wireshark-commits: [Wireshark-commits] master f73233d: capture_ifinfo: Don't try to write to an inv

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 27 Apr 2018 01:23:11 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f73233d261d6ded962a78376d8b9b13365e4d9d1
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

f73233d by Gerald Combs (gerald@xxxxxxxxxxxxx):

    capture_ifinfo: Don't try to write to an invalid address.
    
    Make sure err_str is valid before trying to assign a value.
    
    Change-Id: I4e6524b93101ef28158996797e8462168e44dc2a
    Reviewed-on: https://code.wireshark.org/review/27173
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  0ad4239   Start porting our test scripts to Python. Add ctest support.
    adds  f73233d   capture_ifinfo: Don't try to write to an invalid address.


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