aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-01-11 01:31:08 -0800
committerGuy Harris <guy@alum.mit.edu>2018-01-11 09:31:43 +0000
commiteb5d12c4b97b11c3dcf16cc9d245b631f4389e59 (patch)
tree3380996d66a15f2fdf11551a5fc864b3f012db53 /capture_opts.c
parent3d38b87d86736a976dd28f03b989282e093191bb (diff)
For AT_STRINGZ, the length *includes* the null terminator.
The correct length for an AT_STRINGZ address of "" is 1, not 0. A length of 0 for an address is valid only if the pointer-to-address-data is null. Change-Id: I1da6de5ed402020ed5c8389a911870a54fa8b14a Reviewed-on: https://code.wireshark.org/review/25258 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'capture_opts.c')
0 files changed, 0 insertions, 0 deletions