2020-08-19 12:06:19 +02:00
|
|
|
Index: cpio-2.13/lib/rtapelib.c
|
2013-08-22 17:40:08 +02:00
|
|
|
===================================================================
|
2020-08-19 12:06:19 +02:00
|
|
|
--- cpio-2.13.orig/lib/rtapelib.c
|
|
|
|
+++ cpio-2.13/lib/rtapelib.c
|
|
|
|
@@ -711,7 +711,7 @@ rmt_ioctl__ (int handle, int operation,
|
2013-08-22 17:40:08 +02:00
|
|
|
|| (status = get_status (handle), status == -1))
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
- if (status > sizeof (struct mtop))
|
|
|
|
+ if (status > sizeof (struct mtget))
|
|
|
|
{
|
|
|
|
errno = EOVERFLOW;
|
|
|
|
return -1;
|