diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-06-12 11:23:32 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-06-12 18:24:47 +0000 |
commit | 4e7f4881d2cf6fe69de0661c2441e82dd525e59e (patch) | |
tree | 1535fcb594c53442904458519485a60474f19864 /image | |
parent | a03eacc7aabd04a6fd0db978e0d7597220ac0515 (diff) |
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@alum.mit.edu>
Diffstat (limited to 'image')
0 files changed, 0 insertions, 0 deletions