aboutsummaryrefslogtreecommitdiffstats
path: root/config.nmake
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-04-22 15:30:37 +0200
committerMichael Mann <mmann78@netscape.net>2014-04-22 15:47:04 +0000
commitf746d5ec1daaa58802989dae8cbb731582c44d19 (patch)
tree2eea4c44b0b1e1039e12704ece0101132fa33a56 /config.nmake
parent2d774c6f84c690ee342b3baa0070c3d480df811d (diff)
Fix ASAN error due to invalid type
ei_array is supposed to be an array of expert_entry items. However, it was initialized of an array of expert_info_t items which is much larger. This caused an ASAN error when running `tshark -z expert` because expert_stat_packet wants to read past the stack. Fix this by correcting the type. While at it, reduce the size of expert_entry for 64-bit systems (reduces initial memory usage by 8 kilobytes) and avoid a redundant g_array_index call. Change-Id: I2e08676a5e242743ed502dd2836806604ea75cc0 Reviewed-on: https://code.wireshark.org/review/1275 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'config.nmake')
0 files changed, 0 insertions, 0 deletions