diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-12-22 00:30:39 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-12-22 00:30:39 +0000 |
commit | ce604f09d8b5fe30f2c641786ade94a3ff4632b5 (patch) | |
tree | b8d300ac02b370376925dc44cee9c5236fec6adb | |
parent | 7402efa0586d1f5419c521bc29a06d24bf124f38 (diff) |
Properly declare a variable as volatile, as the longjmp done by the
exception mechanism might clobber it otherwise.
svn path=/trunk/; revision=12809
-rw-r--r-- | epan/dissectors/packet-ieee80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ieee80211.c b/epan/dissectors/packet-ieee80211.c index acf69e4025..d8407152e6 100644 --- a/epan/dissectors/packet-ieee80211.c +++ b/epan/dissectors/packet-ieee80211.c @@ -1687,7 +1687,7 @@ dissect_ieee80211_common (tvbuff_t * tvb, packet_info * pinfo, char out_buff[SHORT_STR]; gint is_iv_bad; guchar iv_buff[4]; - wlan_hdr *whdr; + wlan_hdr *volatile whdr; static wlan_hdr whdrs[4]; whdr= &whdrs[0]; |