From f830d022a4058bf30fc414c82fc5cff3f0484e48 Mon Sep 17 00:00:00 2001 From: Robert Spalek Date: Tue, 15 Jun 2004 09:36:38 +0000 Subject: [PATCH] oops, one missing volatile :-) --- lib/lizard-safe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lizard-safe.c b/lib/lizard-safe.c index fb45f8bf..fc4b228f 100644 --- a/lib/lizard-safe.c +++ b/lib/lizard-safe.c @@ -55,7 +55,7 @@ lizard_decompress_safe(byte *in, struct lizard_buffer *buf, uns expected_length) * is caught in the case of buffer-overflow. The function is not re-entrant * because of a static longjmp handler. */ { - uns lock_offset = ALIGN(expected_length, PAGE_SIZE); + volatile uns lock_offset = ALIGN(expected_length, PAGE_SIZE); if (lock_offset + PAGE_SIZE > buf->len) { errno = EFBIG; -- 2.39.2