URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6765bf722a7274d9475bd36f6119c4ba5c1103df
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
6765bf7 by Guy Harris (guy@xxxxxxxxxxxx):
Fix generation of address-with-resolution strings.
XXX_to_str routines should return the length, in bytes, of the generated
string, including the terminating '\0'.
As their reutrn values include the terminating '\0', we need to subtract
1 from the return value if, when appending the ")" after the address
string, we want to skip past the address string rather than skipping
past the terminating '\0'.
Change-Id: Ibfd41e6d7152d05070706e6d76fc3e56a097a75b
Reviewed-on: https://code.wireshark.org/review/7324
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 1c4053f BMP: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
adds 6765bf7 Fix generation of address-with-resolution strings.
Summary of changes:
epan/address_types.c | 52 +++++++++++++++++++++++++-------------------------
1 file changed, 26 insertions(+), 26 deletions(-)