SHA256
1
0
forked from pool/cpio
cpio/paxutils-rtapelib_mtget.patch

14 lines
418 B
Diff
Raw Normal View History

Index: cpio-2.13/lib/rtapelib.c
===================================================================
--- cpio-2.13.orig/lib/rtapelib.c
+++ cpio-2.13/lib/rtapelib.c
@@ -711,7 +711,7 @@ rmt_ioctl__ (int handle, int operation,
|| (status = get_status (handle), status == -1))
return -1;
- if (status > sizeof (struct mtop))
+ if (status > sizeof (struct mtget))
{
errno = EOVERFLOW;
return -1;