Revert "In get_unicode_or_ascii_string(), check if the length is odd/even, not the...
authorStefan Metzmacher <metze@samba.org>
Fri, 3 Jan 2014 10:51:04 +0000 (11:51 +0100)
committerEvan Huus <eapache@gmail.com>
Fri, 31 Jan 2014 16:38:21 +0000 (16:38 +0000)
commit7feac746031dfd69456df3c98e09bd1c0a8896c3
treefb11d85690027e2e0e7042d0307c8ba61540efef
parent505af30e0156e1ac3db7a411127084d1bca4c0ad
Revert "In get_unicode_or_ascii_string(), check if the length is odd/even, not the offset. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5778 - Volume label field ... is not displayed correctly ..."

This is wrong it breaks all sort of things. The "Volume label field"
is a special case, which can be fixed by using nopad=TRUE.

Change-Id: I3cd3f30ff0076d5e31a735391b175fd68e5fa142
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/26
Reviewed-by: Evan Huus <eapache@gmail.com>
Tested-by: Evan Huus <eapache@gmail.com>
epan/dissectors/packet-smb-common.c