Really fix the case where a UTF-16 string contains junk after the string.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 13 Apr 2011 12:54:05 +0000 (13:54 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 13 Apr 2011 12:54:05 +0000 (13:54 +0100)
commit3e941d7ef4163b8882b1296adfd837c507a81075
treebd3e1ea3db8b50c0e5a70aef0edda9a9d669c523
parent41c6e04831b0a6c6b1b15075d9f7c30b6c95e72b
Really fix the case where a UTF-16 string contains junk after the string.

The previous commit b71b88f588f8660935a7d462e97b84aa2d669249 attempted
to fix this, but got the test the wrong way round so the length would
never be shorter.
lib/hivex.c