URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=df9378ed3f8ad283efb4f8562bcb7a23cf2b2152
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
df9378e by Michael Mann (mmann78@xxxxxxxxxxxx):
Add tvb_get_token_len
This is intended to be a replacement for get_token_len (from strutil.h) when its used on a tvb. It should be a little safer and remove the need for a dissector to use tvb_get_ptr.
Change-Id: Ib2d4a79718b6fba4eb9acc0129b13be6c8199a43
Reviewed-on: https://code.wireshark.org/review/30892
Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 0b79b9c BitTorrent:Add Fast Extension Message(Bep06) analysis
add df9378e Add tvb_get_token_len
Summary of changes:
debian/libwireshark0.symbols | 1 +
epan/tvbuff.c | 67 ++++++++++++++++++++++++++++++++++++++++++++
epan/tvbuff.h | 20 +++++++++++++
3 files changed, 88 insertions(+)