git.samba.org
/
obnox
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix for bug 5762, wireshark asserts on reading juniper snoop output when no hex data...
[obnox/wireshark/wip.git]
/
wiretap
/
netscreen.c
diff --git
a/wiretap/netscreen.c
b/wiretap/netscreen.c
index d8ce51b5ff9c9e98b8be392d4bbf623893af14e8..037aba1619f9dba3a40f4f86899171a3b59d3648 100644
(file)
--- a/
wiretap/netscreen.c
+++ b/
wiretap/netscreen.c
@@
-322,7
+322,7
@@
netscreen_seek_read (wtap *wth, gint64 seek_off,
return FALSE;
}
- return
parse_netscreen_hex_dump(wth->random_fh, len, pd, err, err_info
);
+ return
(parse_netscreen_hex_dump(wth->random_fh, len, pd, err, err_info) != -1
);
}
/* Parses a packet record header. There are a few possible formats: