URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6332c2f45e5f0b23893a41def45384911f28109a
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
6332c2f by Guy Harris (guy@xxxxxxxxxxxx):
Don't assume packets will be no larger than ISERIES_MAX_PACKET_LEN.
We don't check against it. Insteead, use phdr->caplen as the buffer
size; that's based on the number of hex digits we've found.
While we're at it, also get rid of ISERIES_PKT_ALLOC_SIZE - it makes it
less obvious that it's based on the packet length from the packet
header.
Change-Id: I8ad6306c62e7bc4cf896b335f39a5a77780fb2ea
Reviewed-on: https://code.wireshark.org/review/15236
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 7666361 Make sure the packet length isn't > WTAP_MAX_PACKET_SIZE.
adds 6332c2f Don't assume packets will be no larger than ISERIES_MAX_PACKET_LEN.
Summary of changes:
wiretap/iseries.c | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)