summaryrefslogtreecommitdiff
path: root/extcap/udpdump.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2016-12-22 15:14:47 +0100
committerAnders Broman <a.broman58@gmail.com>2016-12-22 16:17:24 +0000
commit8c70558d1651df0502e57f0b3bd56e1f70bc522b (patch)
tree542f89911f733140886786b5403ef444dac27afe /extcap/udpdump.c
parent541beaad6e99c8efc8a57a8e87fd5e8c3d56056a (diff)
downloadwireshark-8c70558d1651df0502e57f0b3bd56e1f70bc522b.tar.gz
RPC: fix crash when using "Dissect unknown RPC program numbers" option
When using this option, rpc_prog_info_value structure is not fully initialized. Depending on the memory allocator used, this can lead to a NULL pointer dereference or an access to a random memory block. Ensure that the structure if fully initialized and test pointer before dereferencing it. Bug: 13266 Change-Id: Ifdc54b31c8dd3b2b6220dbe9ee27272758ff60ca Reviewed-on: https://code.wireshark.org/review/19385 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'extcap/udpdump.c')
0 files changed, 0 insertions, 0 deletions