summaryrefslogtreecommitdiff
path: root/archival/libunarchive/uncompress.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/libunarchive/uncompress.c')
-rw-r--r--archival/libunarchive/uncompress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/uncompress.c b/archival/libunarchive/uncompress.c
index 5046e8a..65418a7 100644
--- a/archival/libunarchive/uncompress.c
+++ b/archival/libunarchive/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;
}