URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ecc4e43909e5aeec3b184b17c446c80c4d552e99
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark
Commits:
ecc4e43 by Peter Wu (peter@xxxxxxxxxxxxx):
prefs: fix crash with -o column.foo:x
The gui.column module is somehow special, it has no name since it is
part of the gui module. This causes a crash when trying to invoke
`strcmp(module->name /* NULL */, "mgcp")`.
Always look up prefs inside gui_column_module when the given prefs
module is "column" instead of matching two specific names.
Change-Id: I47e354d11b6fd01818b0627a249b506a8f9510cc
Reviewed-on: https://code.wireshark.org/review/16937
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
(cherry picked from commit 1ea6b4fe2e4b6e068694301c4ffc731e2309c797)
Reviewed-on: https://code.wireshark.org/review/16939
Actions performed:
from 9bdb5a6 checklicenses.py: Whitelist some plaintext files without license requirements
adds ecc4e43 prefs: fix crash with -o column.foo:x
Summary of changes:
epan/prefs.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)