woww: Update maximum length for null terminated strings

This is required for quest texts and descriptions which are often very
long.
This commit is contained in:
Gtker 2022-11-21 00:18:54 +01:00 committed by Alexis La Goutte
parent 206cd1084f
commit 534a6d4e8a
1 changed files with 1 additions and 1 deletions

View File

@ -9438,7 +9438,7 @@ static gint32
get_null_terminated_string_length( tvbuff_t* tvb,
gint32 offset)
{
const gint32 maximum_length = 255;
const gint32 maximum_length = 0x7FFF;
for (gint32 length = 0; length < maximum_length; length++) {
guint8 character = tvb_get_guint8(tvb, offset + length);
if (character == 0) {