summaryrefslogtreecommitdiff
blob: 8a5e26a0a4e95b593a9614a28a5d9f198c537263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
--- ./epan/dissectors/packet-ldp.c.orig	2008-10-16 22:58:47.000000000 +0400
+++ ./epan/dissectors/packet-ldp.c	2008-10-16 22:59:03.000000000 +0400
@@ -2484,7 +2484,7 @@
 	int length_remaining;
 	guint16 plen;
 	int length;
-	tvbuff_t *next_tvb;
+	tvbuff_t *volatile next_tvb;
 
 	while (tvb_reported_length_remaining(tvb, offset) != 0) {
 		length_remaining = tvb_length_remaining(tvb, offset);
--- ./epan/dissectors/packet-tpkt.c.orig	2008-10-16 23:24:58.000000000 +0400
+++ ./epan/dissectors/packet-tpkt.c	2008-10-16 23:25:27.000000000 +0400
@@ -217,7 +217,7 @@
     int mgcp_version = 0;
     int mgcp_reserved = 0;
     volatile int length;
-    tvbuff_t *next_tvb;
+    tvbuff_t *volatile next_tvb;
     const char *saved_proto;
     guint8 string[4];
     /*
@@ -372,7 +372,7 @@
 	int length_remaining;
 	int data_len;
 	volatile int length;
-	tvbuff_t *next_tvb;
+	tvbuff_t *volatile next_tvb;
 	const char *saved_proto;
 
 	/*
--- ./epan/dissectors/packet-gssapi.c.orig	2008-10-16 22:55:09.000000000 +0400
+++ ./epan/dissectors/packet-gssapi.c	2008-10-16 22:56:06.000000000 +0400
@@ -172,8 +172,8 @@
 dissect_gssapi_work(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
     gboolean is_verifier)
 {
-	proto_item *item;
-	proto_tree *subtree;
+	proto_item *volatile item;
+	proto_tree *volatile subtree;
 	volatile int return_offset = 0;
 	gssapi_conv_info_t *volatile gss_info;
 	gssapi_oid_value *oidvalue;
--- ./epan/dissectors/packet-tds.c.orig	2008-10-16 23:22:27.000000000 +0400
+++ ./epan/dissectors/packet-tds.c	2008-10-16 23:22:40.000000000 +0400
@@ -1725,7 +1725,7 @@
 	guint8 type;
 	guint16 plen;
 	guint length;
-	tvbuff_t *next_tvb;
+	tvbuff_t *volatile next_tvb;
 	proto_item *tds_item = NULL;
 	proto_tree *tds_tree = NULL;
 
--- ./epan/dissectors/packet-isl.c.orig	2008-10-16 22:57:53.000000000 +0400
+++ ./epan/dissectors/packet-isl.c	2008-10-16 22:58:15.000000000 +0400
@@ -149,7 +149,7 @@
 {
   proto_tree *volatile fh_tree = NULL;
   proto_item *ti, *hidden_item;
-  guint8 type;
+  volatile guint8 type;
   volatile guint16 length;
   gint captured_length;
   tvbuff_t *volatile payload_tvb = NULL;
--- ./epan/dissectors/packet-ieee802154.c.orig	2008-10-16 22:56:53.000000000 +0400
+++ ./epan/dissectors/packet-ieee802154.c	2008-10-16 22:57:23.000000000 +0400
@@ -484,7 +484,7 @@
 static void
 dissect_ieee802154_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint options)
 {
-    tvbuff_t            *payload_tvb;
+    tvbuff_t            *volatile payload_tvb;
     proto_tree          *volatile ieee802154_tree = NULL;
     proto_item          *volatile proto_root = NULL;
     proto_item          *ti;
--- ./epan/dissectors/packet-tr.c.orig	2008-10-16 23:25:37.000000000 +0400
+++ ./epan/dissectors/packet-tr.c	2008-10-16 23:26:20.000000000 +0400
@@ -326,10 +326,10 @@
 {
 	proto_tree	*tr_tree, *bf_tree;
 	proto_item	*ti, *hidden_item;
-	int		frame_type;
 	guint8		rcf1, rcf2;
 	tvbuff_t	*next_tvb;
 
+	volatile int		frame_type;
 	volatile int		fixoffset = 0;
 	volatile int		source_routed = 0;
 	volatile guint8		trn_rif_bytes;
--- ./epan/dissectors/packet-bgp.c.orig	2008-10-16 22:40:35.000000000 +0400
+++ ./epan/dissectors/packet-bgp.c	2008-10-16 22:49:31.000000000 +0400
@@ -2623,7 +2623,7 @@
 }
 
 static void
-dissect_bgp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
+dissect_bgp_pdu(tvbuff_t *volatile tvb, packet_info *pinfo, proto_tree *tree,
     gboolean first)
 {
     guint16       bgp_len;       /* Message length             */
@@ -2740,7 +2740,7 @@
     guint         length_remaining;
     guint         length;
     volatile gboolean first = TRUE;  /* TRUE for the first BGP message in packet */
-    tvbuff_t      *next_tvb;
+    tvbuff_t *volatile next_tvb;
 
     if (check_col(pinfo->cinfo, COL_PROTOCOL))
 	col_set_str(pinfo->cinfo, COL_PROTOCOL, "BGP");
--- ./epan/dissectors/packet-ethertype.c.orig	2008-10-16 22:51:48.000000000 +0400
+++ ./epan/dissectors/packet-ethertype.c	2008-10-16 22:52:25.000000000 +0400
@@ -193,7 +193,7 @@
 	guint			length_before;
 	gint			captured_length, reported_length;
 	volatile gboolean	dissector_found = FALSE;
-	const char		*saved_proto;
+	const char		*volatile saved_proto;
 
 	/* Add the Ethernet type to the protocol tree */
 	if (tree) {
--- ./epan/dissectors/packet-vlan.c.orig	2008-10-16 23:26:42.000000000 +0400
+++ ./epan/dissectors/packet-vlan.c	2008-10-16 23:27:07.000000000 +0400
@@ -74,7 +74,8 @@
 dissect_vlan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 {
   proto_tree *ti;
-  guint16 tci,encap_proto;
+  guint16 tci;
+  volatile guint16 encap_proto;
   volatile gboolean is_802_2;
   proto_tree *volatile vlan_tree;