From 09f57db03d352a12d18d06a9c1616045f233dc4d Mon Sep 17 00:00:00 2001 From: Nayd Date: Wed, 24 Dec 2014 17:45:29 +0000 Subject: Dep/zlib: Update zlib from version 1.2.7 to 1.2.8 "Version 1.2.8 fixes a very rare bug in decompression. All users are encouraged to upgrade immediately. Version 1.2.8 also has these improvements: Add new inflateGetDictionary() function Fix bug where gzopen() immediately followed by gzclose() would write an empty file instead of an empty gzip stream. Fix bug in gzclose() when gzwrite() runs out of memory" --- dep/zlib/inffast.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dep/zlib/inffast.c') diff --git a/dep/zlib/inffast.c b/dep/zlib/inffast.c index 2f1d60b43b8..bda59ceb6a1 100644 --- a/dep/zlib/inffast.c +++ b/dep/zlib/inffast.c @@ -1,5 +1,5 @@ /* inffast.c -- fast decoding - * Copyright (C) 1995-2008, 2010 Mark Adler + * Copyright (C) 1995-2008, 2010, 2013 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ @@ -69,8 +69,8 @@ z_streamp strm; unsigned start; /* inflate()'s starting value for strm->avail_out */ { struct inflate_state FAR *state; - unsigned char FAR *in; /* local strm->next_in */ - unsigned char FAR *last; /* while in < last, enough input available */ + z_const unsigned char FAR *in; /* local strm->next_in */ + z_const unsigned char FAR *last; /* have enough input while in < last */ unsigned char FAR *out; /* local strm->next_out */ unsigned char FAR *beg; /* inflate()'s initial strm->next_out */ unsigned char FAR *end; /* while out < end, enough space available */ -- cgit v1.2.3