cpio/paxutils-rtapelib_mtget.patch
Ismail Dönmez 21da25607d Accepting request 196003 from home:vitezslav_cizek:branches:Archiving
- add a missing fix from SLE for bnc#830779 (original bug bnc#658031)
  added paxutils-rtapelib_mtget.patch

OBS-URL: https://build.opensuse.org/request/show/196003
OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=42
2013-08-22 15:40:08 +00:00

14 lines
490 B
Diff

Index: cpio-2.11/lib/rtapelib.c
===================================================================
--- cpio-2.11.orig/lib/rtapelib.c 2013-07-23 13:18:27.119431054 +0200
+++ cpio-2.11/lib/rtapelib.c 2013-07-23 13:19:35.728188104 +0200
@@ -710,7 +710,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;