URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7b7dd1efcef07dbdb69320e13832a4d7a087b9a8
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
7b7dd1e by Guy Harris (guy@xxxxxxxxxxxx):
Don't use -1 as the length of an integer.
That's not supported. Put the unknown enterprise number in a a 4-byte
value, as that's what it is, and then just skip to the end of the
packet.
Change-Id: I2cce84bfbb46a114d4809dbc61a021d497eb87a8
Reviewed-on: https://code.wireshark.org/review/3708
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 9d6d192 Use expert info to report unknown TLV types.
adds 7b7dd1e Don't use -1 as the length of an integer.
Summary of changes:
epan/dissectors/packet-sflow.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)