diff options
author | simon <simon@FreeBSD.org> | 2006-09-19 14:06:20 +0000 |
---|---|---|
committer | simon <simon@FreeBSD.org> | 2006-09-19 14:06:20 +0000 |
commit | a1f5a11feb5f32c114651eb8d85c25e5c459ed15 (patch) | |
tree | 262ee869e682412dc1fba655b2e6235da93aa918 /gnu/usr.bin/gzip/gzip.h | |
parent | cf9722d790626e547970c71bd007d48a02bfd70e (diff) | |
download | FreeBSD-src-a1f5a11feb5f32c114651eb8d85c25e5c459ed15.zip FreeBSD-src-a1f5a11feb5f32c114651eb8d85c25e5c459ed15.tar.gz |
Correct multiple vulnerabilities in gzip(1).
Security: FreeBSD-SA-06:21.gzip
Diffstat (limited to 'gnu/usr.bin/gzip/gzip.h')
-rw-r--r-- | gnu/usr.bin/gzip/gzip.h | 2 |
1 files changed, 2 insertions, 0 deletions
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)) |