diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-05 20:35:03 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-05 20:35:03 +0000 |
commit | 0cf459a6cc71e082bbfabd4b947034f5d5252095 (patch) | |
tree | b7cfa76391f6af70dbbd405d5f536a716d12497a /file.c | |
parent | 2d1b7d1e32d1d4b0e2829abf2ade8aacbe585cf2 (diff) | |
download | wireshark-0cf459a6cc71e082bbfabd4b947034f5d5252095.tar.gz wireshark-0cf459a6cc71e082bbfabd4b947034f5d5252095.tar.bz2 wireshark-0cf459a6cc71e082bbfabd4b947034f5d5252095.zip |
Try to fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9106 :
Intialize phdr structure to avoid an invalid access to phdr->opt_comment
svn path=/trunk/; revision=51791
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2216,6 +2216,7 @@ process_specified_packets(capture_file *cf, packet_range_t *range, range_process_e process_this; struct wtap_pkthdr phdr; + memset(&phdr, 0, sizeof(struct wtap_pkthdr)); buffer_init(&buf, 1500); /* Update the progress bar when it gets to this value. */ |