git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08e7d4c
)
Fix bug #1926: buffer overflow when parsing iseries files
author
Stephen Fisher
<steve@stephen-fisher.com>
Fri, 19 Oct 2007 22:40:42 +0000
(22:40 -0000)
committer
Stephen Fisher
<steve@stephen-fisher.com>
Fri, 19 Oct 2007 22:40:42 +0000
(22:40 -0000)
svn path=/trunk/; revision=23232
wiretap/iseries.c
patch
|
blob
|
history
diff --git
a/wiretap/iseries.c
b/wiretap/iseries.c
index 3c0ed2414e142fa9e92b9decbb4522b4df732f96..68c84046cdc595d3ce2b6f130ecc813597088d45 100644
(file)
--- a/
wiretap/iseries.c
+++ b/
wiretap/iseries.c
@@
-514,7
+514,7
@@
iseries_parse_packet (wtap * wth, FILE_T fh,
}
num_items_scanned =
sscanf (data,
- "%6d %1s %6d %d:%d:%d.%d %12s %12s ETHV2 Type: %s",
+ "%6d %1s %6d %d:%d:%d.%d %12s %12s ETHV2 Type: %
4
s",
&pktnum, direction, &cap_len, &hr, &min, &sec, &csec, destmac,
srcmac, type);
if (num_items_scanned == 10)