diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-09-08 21:36:40 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-09-08 21:36:40 +0000 |
commit | c5b14ad5bb4859223f2dd3dac741ddf17ee613b2 (patch) | |
tree | 4fcbed1870de8e0a204a074814fa9e85d4b2be49 /file.c | |
parent | 285b285adc47f4c7ec605fbbb2771bd46c8ef2c0 (diff) |
start with fdata->num = -1, so we don't have an uninitialised value while doing read_filter style dissection
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15732 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -875,6 +875,7 @@ read_packet(capture_file *cf, long offset) /* Allocate the next list entry, and add it to the list. */ fdata = g_mem_chunk_alloc(cf->plist_chunk); + fdata->num = -1; fdata->next = NULL; fdata->prev = NULL; fdata->pfd = NULL; |