From 534a6d4e8afde3ef1886c3e8af557673482e8a3f Mon Sep 17 00:00:00 2001 From: Gtker Date: Mon, 21 Nov 2022 00:18:54 +0100 Subject: [PATCH] woww: Update maximum length for null terminated strings This is required for quest texts and descriptions which are often very long. --- epan/dissectors/packet-woww.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epan/dissectors/packet-woww.c b/epan/dissectors/packet-woww.c index 70c6573a85..7e17270a70 100644 --- a/epan/dissectors/packet-woww.c +++ b/epan/dissectors/packet-woww.c @@ -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) {