mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 06:52:45 +00:00
Catch certain gzip failures at close time.
This commit is contained in:
parent
153ee32724
commit
94cb976997
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=201082
@ -411,6 +411,8 @@ gzip_filter_read(struct archive_read_filter *self, const void **p)
|
||||
/* Consume the stream trailer; release the
|
||||
* decompression library. */
|
||||
ret = consume_trailer(self);
|
||||
if (ret < ARCHIVE_OK)
|
||||
return (ret);
|
||||
break;
|
||||
default:
|
||||
/* Return an error. */
|
||||
|
Loading…
Reference in New Issue
Block a user