diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2014-11-06 11:19:25 +0100 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2014-11-10 08:01:12 +0000 |
commit | ea167053ffc553b3a5f4ce6cbe0b78ecc8cd0dbe (patch) | |
tree | ceac2e98230e01eaf207a51ab98bd57afdddcead /ui/qt/uat_dialog.cpp | |
parent | d58567bd78abc1903191c9a955365b8d41f09496 (diff) | |
download | wireshark-ea167053ffc553b3a5f4ce6cbe0b78ecc8cd0dbe.tar.gz |
Improved deregistering fields.
This improvement avoids use of deallocated memory (crash) if using a
deregistered field in display filter, color filter, custom column and
other cases when the field is used as "interesting field".
This functionality is currently used in http, imf and ldap preferences.
Also removed unused proto_registrar_n() as this does not work correctly
after deregistering fields.
Change-Id: I043e3bf7a98bd773c9801e712a012d1eab8a7f94
Reviewed-on: https://code.wireshark.org/review/5161
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/uat_dialog.cpp')
-rw-r--r-- | ui/qt/uat_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/uat_dialog.cpp b/ui/qt/uat_dialog.cpp index 918f8bd6c7..df1a364f74 100644 --- a/ui/qt/uat_dialog.cpp +++ b/ui/qt/uat_dialog.cpp @@ -471,7 +471,7 @@ void UatDialog::applyChanges() if (uat_->flags & UAT_AFFECTS_FIELDS) { /* Recreate list with new fields and redissect packets */ - wsApp->emitAppSignal(WiresharkApplication::ColumnsChanged); + wsApp->emitAppSignal(WiresharkApplication::FieldsChanged); } if (uat_->flags & UAT_AFFECTS_DISSECTION) { /* Just redissect packets if we have any */ |