From a1f5a11feb5f32c114651eb8d85c25e5c459ed15 Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 19 Sep 2006 14:06:20 +0000 Subject: Correct multiple vulnerabilities in gzip(1). Security: FreeBSD-SA-06:21.gzip --- gnu/usr.bin/gzip/gzip.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gnu/usr.bin/gzip/gzip.h') diff --git a/gnu/usr.bin/gzip/gzip.h b/gnu/usr.bin/gzip/gzip.h index 79b0efd..ee87690 100644 --- a/gnu/usr.bin/gzip/gzip.h +++ b/gnu/usr.bin/gzip/gzip.h @@ -202,6 +202,8 @@ extern int test; /* check .z file integrity */ extern int to_stdout; /* output to stdout (-c) */ extern int save_orig_name; /* set if original name must be saved */ +#define MIN(a,b) ((a) <= (b) ? (a) : (b)) + #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf(0)) #define try_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf(1)) -- cgit v1.1