Blame SOURCES/wireshark-0018-CVE-19624.patch

164878
diff --git a/epan/dissectors/packet-pvfs2.c b/epan/dissectors/packet-pvfs2.c
164878
index e2b61bef7a..1c1012ceca 100644
164878
--- a/epan/dissectors/packet-pvfs2.c
164878
+++ b/epan/dissectors/packet-pvfs2.c
164878
@@ -2314,6 +2314,12 @@ dissect_pvfs2_getconfig_response(tvbuff_t *tvb, proto_tree *parent_tree,
164878
 	/* Get pointer to server config data */
164878
 	ptr = tvb_get_ptr(tvb, offset, total_config_bytes);
164878
 
164878
+	if (!ptr)
164878
+	{
164878
+		/* Not enough data. Bail out. */
164878
+		return offset;
164878
+	}
164878
+
164878
 	/* Check if all data is available */
164878
 	length_remaining = tvb_captured_length_remaining(tvb, offset);
164878