QUIC: fix UAF crash related to the Info column for Long Header messages
authorPeter Wu <peter@lekensteyn.nl>
Tue, 9 Oct 2018 20:01:16 +0000 (22:01 +0200)
committerAnders Broman <a.broman58@gmail.com>
Wed, 10 Oct 2018 04:58:34 +0000 (04:58 +0000)
commit03bf0e23062d481f396b0fc4d96697c9a449dc5a
tree2480cf9239dd711d63c66e7690223bd70768c10e
parent5a2aafef7a8ad4b3917823133c2e3534951fc4d3
QUIC: fix UAF crash related to the Info column for Long Header messages

Packet 2478 in capture 15142 triggers a UAF crash since val_to_str is
packet-scoped and by the time tshark reads the column, it is destroyed.

Bug: 15142
Change-Id: If8df858c6a295fbac57c758577fb51b288e7f44a
Reviewed-on: https://code.wireshark.org/review/30104
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/dissectors/packet-quic.c