SHA256
1
0
forked from pool/tar
tar/paxutils-rtapelib_mtget.patch
Dirk Mueller 2614f734dc Accepting request 196361 from home:vitezslav_cizek:branches:Base:System
- added fix for paxutils rtapelib which is bundled with tar.
  the very same fix was added to cpio too (bnc#658031)
  * paxutils-rtapelib_mtget.patch

OBS-URL: https://build.opensuse.org/request/show/196361
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=45
2013-08-26 15:13:32 +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;