No need to check for a UTF-16 string's length being a multiple of 2.
authorGuy Harris <guy@alum.mit.edu>
Fri, 15 Jun 2018 00:38:55 +0000 (17:38 -0700)
committerGuy Harris <guy@alum.mit.edu>
Fri, 15 Jun 2018 00:39:30 +0000 (00:39 +0000)
commit92412335d195129b1df593030eeaae38f43ad6d7
treee978b98b9e9614447aaf88e12ef298f2ec951ba8
parent3df05f3ec866a477db24c9db8a4ad6ce3316a9a5
No need to check for a UTF-16 string's length being a multiple of 2.

utf_16_to_utf_8() just ignores the extra octet.

Change-Id: I7bf003b674e5d9b0fb0265b0e8c6c142107084e3
Reviewed-on: https://code.wireshark.org/review/28277
Reviewed-by: Guy Harris <guy@alum.mit.edu>
wiretap/netmon.c