diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-09-04 23:38:46 +0200 |
---|---|---|
committer | ronnie sahlberg <ronniesahlberg@gmail.com> | 2015-09-11 13:22:45 +0000 |
commit | fd342f7f739e9b13cbbb39804cf5e636883ea777 (patch) | |
tree | e2f7e56454992114391f4905a73da34d709af5ec /epan/dissectors/packet-scsi.c | |
parent | df3fd2dc69ca1da8c995dbbee6c70141c3c77a6f (diff) |
qt: Fix crash when stopping an empty live capture
When the capture process has not yet received any packets (not even the
libpcap header), Wireshark-Qt would crash because no valid capture file
was found. Reproducer:
ssh otherhost sleep 10000 | wireshark -k -i -
GTK displays "Waiting for capture input data" in the status bar until
the capture file format is determined. After this patch, both versions
will just display an "Interrupted system call" message.
Change-Id: I146f00c0f4fcab04cddcd4f29b56e97b807a9c40
Reviewed-on: https://code.wireshark.org/review/10388
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: ronnie sahlberg <ronniesahlberg@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-scsi.c')
0 files changed, 0 insertions, 0 deletions