aboutsummaryrefslogtreecommitdiffstats
path: root/macosx-support-lib-patches
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2016-03-31 21:53:05 +0200
committerMichael Mann <mmann78@netscape.net>2016-04-02 23:00:00 +0000
commita14e7a7ce19ea2cd0799ebca43d9eaf00aabb27d (patch)
tree3c4ae306864af2371107cbd199883a1cfcacae26 /macosx-support-lib-patches
parent07f4258a5033751768f6f546997c77cfdbdfa95f (diff)
Avoid UAF after deregister_dissector
When deregister_dissector is called by Lua, the protocol was not property removed from the dependent dissectors list. Fix this and also duplicate the memory for keys and values since these strings might be dynamically allocated. Fixes a use-after-free after reloading Lua dissectors that use DissectorTable:add() and opening a new/closing an existing capture file. Change-Id: If2ae02f155e7ab8fc653c08003755897471f9be0 Reviewed-on: https://code.wireshark.org/review/14735 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'macosx-support-lib-patches')
0 files changed, 0 insertions, 0 deletions