Wireshark-commits: [Wireshark-commits] master-2.6 a2b2504: NBSS: take into account snaplen when cre
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a2b2504114490b1e7626a565244f6d5c199f5dfe
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-2.6
Repository: wireshark
Commits:
a2b2504 by Pascal Quantin (pascal.quantin@xxxxxxxxx):
NBSS: take into account snaplen when creating the TVB subset
Otherwise you can trigger an exception interrupting the packet dissection
when the snaplen defined is shorter than the payload length
Bug: 14598
Change-Id: Ibeb6482495ed67c7669574bdcd7c429523318428
Reviewed-on: https://code.wireshark.org/review/26858
Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
(cherry picked from commit 526a328d839cebf8d52dfcfdd479f12e83a28d3a)
Reviewed-on: https://code.wireshark.org/review/26881
Actions performed:
from 5f1fbb2 user_encap: Avoid a hash lookup to get dissector name
adds a2b2504 NBSS: take into account snaplen when creating the TVB subset
Summary of changes:
epan/dissectors/packet-nbt.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)