URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4e7f4881d2cf6fe69de0661c2441e82dd525e59e
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
4e7f488 by Guy Harris (guy@xxxxxxxxxxxx):
Don't let randpkt write packets libwiretap can't read.
Wiretap imposes an arbitrary limit on the maximum packet size, to
prevent it from trying to allocate a huge packet buffer and possibly
running out of address space on ILP32 platforms or just eating too much
backing store on LP64/LLP64 platforms. Don't write packets with a
length greater than that limit.
Bug: 14107
Change-Id: Iba4fe3b008b044215647ba3f838ae7b3ac66c585
Reviewed-on: https://code.wireshark.org/review/28232
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from a03eacc Clean up handling of counted blobs of bytes.
adds 4e7f488 Don't let randpkt write packets libwiretap can't read.
Summary of changes:
randpkt_core/randpkt_core.c | 7 +++++++
1 file changed, 7 insertions(+)