diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2016-02-22 17:53:13 +0200 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-02-22 19:48:56 +0000 |
commit | 13332353607ac00158bc36ab08e7442c9722ef24 (patch) | |
tree | 2f55c2e4c6b90a43aaf8ec9e5b0835f7da9fa6d9 /capture_stop_conditions.h | |
parent | 97de3b3cd75da5fb27dc0314165861c5ee0c227e (diff) | |
download | wireshark-13332353607ac00158bc36ab08e7442c9722ef24.tar.gz |
caputils: fix crash when calling 'dumpcap -i' without having WinPcap installed
Add a test on err_str buffer presence before trying to use it,
like what is done in other code paths.
Bug: 12143
Change-Id: I30ae49a33224dc190c202637767df9d7de2c0f2b
Reviewed-on: https://code.wireshark.org/review/14074
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'capture_stop_conditions.h')
0 files changed, 0 insertions, 0 deletions