summaryrefslogtreecommitdiff
path: root/archival/libunarchive/decompress_uncompress.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/libunarchive/decompress_uncompress.c')
-rw-r--r--archival/libunarchive/decompress_uncompress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/decompress_uncompress.c b/archival/libunarchive/decompress_uncompress.c
index 5046e8a..65418a7 100644
--- a/archival/libunarchive/decompress_uncompress.c
+++ b/archival/libunarchive/decompress_uncompress.c
@@ -164,7 +164,7 @@ extern int uncompress(int fd_in, int fd_out)
}
if (insize < (int) sizeof(inbuf) - IBUFSIZ) {
- rsize = read(fd_in, inbuf + insize, IBUFSIZ);
+ rsize = safe_read(fd_in, inbuf + insize, IBUFSIZ);
insize += rsize;
}