summaryrefslogtreecommitdiff
path: root/epan/except.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2001-07-27 16:20:39 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2001-07-27 16:20:39 +0000
commit52d5904afd6e0fb3c97de2756797a786a1d9ea74 (patch)
tree453aee907b335c6a4da248f61a715027d3f63b57 /epan/except.h
parent5bb08b09703b6a2f33f5b8d205052ed8c3d5def1 (diff)
downloadwireshark-52d5904afd6e0fb3c97de2756797a786a1d9ea74.tar.gz
Fix for Kazlib exception code:
Defect number: 0011 Date: Jul 26 2001 Releases of Kazlib affected: 1.10 through 1.19 Status: Fixed in 1.20 Modules affected: except.c Description: Members of the except_t structure needed to be declared volatile because the structure is automatically allocated in the except macro, modified after a setjmp() takes place, and accessed after control returns via longjmp. Solution: Upgrade to 1.20 or backpatch the fix. svn path=/trunk/; revision=3793
Diffstat (limited to 'epan/except.h')
-rw-r--r--epan/except.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/except.h b/epan/except.h
index bb2e6edcf4..01a6beefb8 100644
--- a/epan/except.h
+++ b/epan/except.h
@@ -14,7 +14,7 @@
* into proprietary software; there is no requirement for such software to
* contain a copyright notice related to this source.
*
- * $Id: except.h,v 1.1 2000/09/27 04:54:50 gram Exp $
+ * $Id: except.h,v 1.2 2001/07/27 16:20:39 gram Exp $
* $Name: $
*/
@@ -41,9 +41,9 @@ typedef struct {
} except_id_t;
typedef struct {
- except_id_t except_id;
- const char *except_message;
- void *except_dyndata;
+ except_id_t volatile except_id;
+ const char *volatile except_message;
+ void *volatile except_dyndata;
} except_t;
struct except_cleanup {