Wireshark-bugs: [Wireshark-bugs] [Bug 5774] Wireshark unnecessarily restricts the number of NetF

Date: Wed, 13 Apr 2011 07:25:06 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5774

--- Comment #2 from Chris Maynard <christopher.maynard@xxxxxxxxx> 2011-04-13 07:25:04 PDT ---
V9TEMPLATE_MAX_FIELDS was added in r29061, originally defined as 20, but
increased to 30 in r30827, then increased again to 42 in r33443.

Presumably this was added to avoid too much memory allocation, perhaps as a bug
fix found by fuzz-testing?  My gut tells me that it might not be a good idea to
eliminate the upper limit altogether.  Instead, is there a more reasonable
upper limit than 42 we could raise it to?

References:
[1]
http://anonsvn.wireshark.org/viewvc/trunk/epan/dissectors/packet-netflow.c?r1=28971&r2=29061
[2]
http://anonsvn.wireshark.org/viewvc/trunk/epan/dissectors/packet-netflow.c?r1=30809&r2=30827
[3]
http://anonsvn.wireshark.org/viewvc/trunk/epan/dissectors/packet-netflow.c?r1=33348&r2=33443

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.