Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Fix gunzip in case of insufficient output buffer | Matthias Fuchs | 2009-01-27 | -1/+2 |
| | | | | | | | | | | | | | | U-Boot's gunzip() function does not handle the return code of zlib's inflate() function correctly. gunzip() is implemented to uncompress all input data in one run. So the correct return code for the good case is Z_STREAM_END. In case of insufficient output buffer memory inflate returns Z_OK. For gunzip() this is an error. It also makes sense to me to call inflateEnd() also in case of an error. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> | |||
* | gunzip: move to lib_generic | Jean-Christophe PLAGNIOL-VILLARD | 2008-08-29 | -0/+113 |
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |