aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_gm.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2017-09-25 12:51:27 +0100
committerJoão Valverde <j@v6e.pt>2017-09-25 16:45:23 +0000
commit8615081a0910797a8dfab5ea60583f8f5da8d020 (patch)
treeb9e322c97fba71747fd59210a8e30df74692e735 /epan/dissectors/packet-gsm_a_gm.c
parent8b5b843fcbc3e03e0fc45f3caf8cf5fc477e8613 (diff)
plugins: Fix crash loading binary module twice
If a plugin is repeated we destroy the GModuleHandle in plugins_scan_dir() but we have already added the entry points to the list of registered plugins. Check for repeated plugins before adding it to the list of registered plugins, not after. Don't check for both name and version, check only for repeated names. Give the plugin callback a more descriptive name. Change-Id: I22cbbb059b8029877580fc33517310496c93e5d5 Reviewed-on: https://code.wireshark.org/review/23726 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'epan/dissectors/packet-gsm_a_gm.c')
0 files changed, 0 insertions, 0 deletions