diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2013-05-16 01:48:44 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2013-05-16 01:48:44 +0000 |
commit | 80cab0bdbb4117e4ee0b84f8e4795028d72a4fed (patch) | |
tree | 5afe205ac4ed5b85ac0d5137f744bf550afbc1bb /epan/dissectors/packet-rtmpt.c | |
parent | b658db4ba21bf6437ba40f2993834d1762555bb0 (diff) |
Temporarily lower the max packet size for this dissector in order to silence
the fuzz bot (see https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6898 and
all of its duplicates--and the bugs marked as duplicates of those duplicates).
Halving the packet size seems to work for most of the captures I've tried;
we'll see if the buildbot agrees.
If someone can figure out a good way to control the memory usage of this
dissector then the limit could be increased again.
svn path=/trunk/; revision=49321
Diffstat (limited to 'epan/dissectors/packet-rtmpt.c')
-rw-r--r-- | epan/dissectors/packet-rtmpt.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rtmpt.c b/epan/dissectors/packet-rtmpt.c index 6f9ea74d4d..010070c7b2 100644 --- a/epan/dissectors/packet-rtmpt.c +++ b/epan/dissectors/packet-rtmpt.c @@ -156,9 +156,12 @@ static gboolean rtmpt_desegment = TRUE; * onBWDone() calls) transmits a series of increasing size packets over * the course of 2 seconds. On a fast link the largest packet can just * exceed 256KB. */ +/* XXX - temporarily reduce the max packet size to silence the fuzz bot. + * See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6898 . + */ /* #define RTMPT_MAX_PACKET_SIZE 131072 */ -/* #define RTMPT_MAX_PACKET_SIZE 262144 */ -#define RTMPT_MAX_PACKET_SIZE 524288 + #define RTMPT_MAX_PACKET_SIZE 262144 +/*#define RTMPT_MAX_PACKET_SIZE 524288*/ #define RTMPT_ID_MAX 65599 #define RTMPT_TYPE_HANDSHAKE_1 0x100001 |