b1047b
diff --git a/epan/tvbuff.c b/epan/tvbuff.c
b1047b
index db2cfd1..752393b 100644
b1047b
--- a/epan/tvbuff.c
b1047b
+++ b/epan/tvbuff.c
b1047b
@@ -3433,7 +3433,7 @@ tvb_uncompress(tvbuff_t *tvb, const int offset, int comprlen)
b1047b
 	guint      bytes_in       = tvb_length_remaining(tvb, offset);
b1047b
 #endif
b1047b
 
b1047b
-	if (tvb == NULL) {
b1047b
+	if (tvb == NULL || comprlen <= 0) {
b1047b
 		return NULL;
b1047b
 	}
b1047b