Revert "iseries: stop scanning a unicode string when the null terminator is hit."

This reverts commit c599e49028.

Reason for revert: This completely fails to recognize Unicode iSeries dumps.

Change-Id: Ie31141879b1bc3608a5dfdcba6887bb6f0018a47
Reviewed-on: https://code.wireshark.org/review/32568
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2019-03-24 21:23:32 +00:00
parent 4118ba3af1
commit c1fd0194f4
1 changed files with 1 additions and 1 deletions

View File

@ -984,7 +984,7 @@ iseries_UNICODE_to_ASCII (guint8 * buf, guint bytes)
*bufptr = buf[i];
bufptr++;
}
if (buf[i] == 0x0A || buf[i] == 0x0)
if (buf[i] == 0x0A)
return i;
}
return i;