diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2015-06-23 09:26:34 -0700 |
---|---|---|
committer | Martin Kaiser <wireshark@kaiser.cx> | 2015-06-23 18:02:10 +0000 |
commit | bc1472502f871d5d7d178f5588f9b5ed7a226180 (patch) | |
tree | 94933cece28d7d58116bc3f41aefb2cb45f1e3bd /epan/dissectors/packet-gre.c | |
parent | eb321f87107c9b25a5094d749b3bd9d1a72e1560 (diff) |
[afp] improve the error handling for extended attributes
distinguish between the length field in the packet and the current item's length
make sure that the length field fits into a gint variable
add a cast to the return value of tvb_strsize()
don't throw an exception manually
Change-Id: I2debab778be3e34d68b1be31963d2d9260a30e0e
Reviewed-on: https://code.wireshark.org/review/9056
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'epan/dissectors/packet-gre.c')
0 files changed, 0 insertions, 0 deletions