diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2014-03-21 10:35:20 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-03-21 21:24:28 +0000 |
commit | 97ba9406e73646c1653189a5980559abc8b207fa (patch) | |
tree | f3409142dab6c07ad13aea2816d3205ca62844fe /tools/indexcap.py | |
parent | 752e545fbf098985512f3188ba73b31b1052ac41 (diff) | |
download | wireshark-97ba9406e73646c1653189a5980559abc8b207fa.tar.gz |
fix a crash in the GTK "Interface Management" dialogue
for Pipes and Local Interfaces
(Capture / Options / Manage Interfaces)
if you start with an empty dialogue, select a pipe using Browse and
press Save, wireshark crashes because of a strcmp() against the
uninitialized pipe_name
initialize pipe_name to NULL and make sure its value is reset when the
dialogue is closed
don't add a pipe unless there's an active selection in the pipe list
(which may be "New Pipe")
Change-Id: Id460c8d0d43cd7fc4cb8f4e9b4357898bbef20f7
Reviewed-on: https://code.wireshark.org/review/776
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'tools/indexcap.py')
0 files changed, 0 insertions, 0 deletions