diff options
author | Gerald Combs <gerald@wireshark.org> | 2005-05-26 14:53:39 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2005-05-26 14:53:39 +0000 |
commit | 4a5deae5759f85eba4592689aec83ce380959af6 (patch) | |
tree | c4a632aa2d7f9bef67629cb4194a84a7a675b0ca /log.h | |
parent | 351214282dba3126faea8ccab2e3310f4ce35cf7 (diff) | |
download | wireshark-4a5deae5759f85eba4592689aec83ce380959af6.tar.gz wireshark-4a5deae5759f85eba4592689aec83ce380959af6.tar.bz2 wireshark-4a5deae5759f85eba4592689aec83ce380959af6.zip |
In some places we call proto_tree_add_item() with hfindex and length
values that may not be valid (e.g. dissect_ber_octet_string()
in packet-ber.c). If the length is invalid, get_uint_value() or
get_int_value() will abort. Change them to throw an exception instead.
This keeps us from having to do a lot of extra work in the dissector.
Fixes bug 182.
svn path=/trunk/; revision=14437
Diffstat (limited to 'log.h')
0 files changed, 0 insertions, 0 deletions