diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-12-01 17:26:53 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-12-01 17:26:53 +0100 |
commit | 3ce3c4fd596debefbad77328a9b62a39eccf753c (patch) | |
tree | 8ea8842d946335dbd124e71336a11b928481c544 /unmaintained/libtar/libtar-1.2.11-mem-deref.patch | |
parent | 62b8ba5f8fe6d62d56b2d078b4f12f72830ee4af (diff) | |
download | aports-3ce3c4fd596debefbad77328a9b62a39eccf753c.tar.bz2 aports-3ce3c4fd596debefbad77328a9b62a39eccf753c.tar.xz |
unmaintained/*: purge aports not touched since v3.5.0
We agreed with ncopa on #alpine-devel (2017-12-01 16:20 UTC) to
periodically purge aports in unmaintained that haven't been touched
in last 1 year (2 releases).
Diffstat (limited to 'unmaintained/libtar/libtar-1.2.11-mem-deref.patch')
-rw-r--r-- | unmaintained/libtar/libtar-1.2.11-mem-deref.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/unmaintained/libtar/libtar-1.2.11-mem-deref.patch b/unmaintained/libtar/libtar-1.2.11-mem-deref.patch deleted file mode 100644 index 8a618a0a22..0000000000 --- a/unmaintained/libtar/libtar-1.2.11-mem-deref.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- libtar-1.2.11/lib/libtar.h.deref 2009-12-30 16:37:03.790121122 +0100 -+++ libtar-1.2.11/lib/libtar.h 2009-12-30 16:37:35.521246633 +0100 -@@ -172,6 +172,7 @@ int th_write(TAR *t); - #define TH_ISDIR(t) ((t)->th_buf.typeflag == DIRTYPE \ - || S_ISDIR((mode_t)oct_to_int((t)->th_buf.mode)) \ - || ((t)->th_buf.typeflag == AREGTYPE \ -+ && strlen((t)->th_buf.name) \ - && ((t)->th_buf.name[strlen((t)->th_buf.name) - 1] == '/'))) - #define TH_ISFIFO(t) ((t)->th_buf.typeflag == FIFOTYPE \ - || S_ISFIFO((mode_t)oct_to_int((t)->th_buf.mode))) ---- libtar-1.2.11/lib/util.c.deref 2003-01-07 02:41:00.000000000 +0100 -+++ libtar-1.2.11/lib/util.c 2009-12-30 17:35:51.860121660 +0100 -@@ -148,9 +148,7 @@ oct_to_int(char *oct) - { - int i; - -- sscanf(oct, "%o", &i); -- -- return i; -+ return sscanf(oct, "%o", &i) == 1 ? i : 0; - } - - - |