Qt: Check for no tvb in Show Packet Bytes

Bug: 13723
Change-Id: I145fe93fc05a9cfdc6c0fc949274a1e88dcf2f1e
Reviewed-on: https://code.wireshark.org/review/21709
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
Stig Bjørlykke 2017-05-19 14:44:14 +02:00
parent b2923e9313
commit 4424a8e862
1 changed files with 3 additions and 0 deletions

View File

@ -496,6 +496,9 @@ void ShowPacketBytesDialog::updateFieldBytes(bool initialization)
int length = end_ - start_;
const guint8 *bytes;
if (!finfo_->ds_tvb)
return;
switch (decode_as_) {
case DecodeAsNone: