summaryrefslogtreecommitdiff
path: root/epan/exported_pdu.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-02-26 20:16:22 -0800
committerGuy Harris <guy@alum.mit.edu>2015-02-27 04:16:57 +0000
commit9ac60ff0df25765612d219dcaa7fe1210f6e0bcd (patch)
treeae62965f7d5c7edd12b99c4e5ca45e8e88a8d2bc /epan/exported_pdu.h
parent1e66e74fa26a2bc29e0162a3a8740a66cbb5f55f (diff)
downloadwireshark-9ac60ff0df25765612d219dcaa7fe1210f6e0bcd.tar.gz
address_to_string routines need to remember the beginning of the buffer.
Either they don't have a pointer into the buffer that they advance, in which case strlen(buf)+1 works just fine, or they do, in which case 1) they'd better save the pointer to the beginning of the buffer, so they can figure out how long the string is when they're done and 2) they don't need to use strlen(), they can just subtract the pointers. Bug: 11016 Change-Id: I81ce9d517336a15bd81f0c6225756ce5178ec6cf Reviewed-on: https://code.wireshark.org/review/7424 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/exported_pdu.h')
0 files changed, 0 insertions, 0 deletions