aboutsummaryrefslogtreecommitdiffstats
path: root/src/csn1.h
diff options
context:
space:
mode:
authorPascal Quantin <pascal@wireshark.org>2020-01-24 17:33:06 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-01-28 13:40:14 +0100
commitc515551625e647796a26b2cdb43c7c445de69214 (patch)
tree79137b4766b689630b49244ee3c392e83833e2e0 /src/csn1.h
parent5b71697618ddfa05766064da8d3103fd9c9c3cdb (diff)
csn1: Fix an infinite loop in CSN.1 dissector when having more than 255 padding bits
Port of wireshark.git 8b5aa913711b32b1e1bc707919d2a98c1875d443. Ported-by: Pau Espin Pedrol <pespin@sysmocom.de> Change-Id: I7f6aecc2c0f300c1a77cd683652969d3f1aa5794
Diffstat (limited to 'src/csn1.h')
-rw-r--r--src/csn1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/csn1.h b/src/csn1.h
index c5ee919a..0da529c4 100644
--- a/src/csn1.h
+++ b/src/csn1.h
@@ -56,6 +56,7 @@ extern "C" {
typedef signed int gint32;
typedef signed short gint16;
typedef int gint;
+typedef unsigned int guint;
typedef gint gboolean;
typedef unsigned char guint8;
typedef unsigned short guint16;