diff --git a/ncompress-4.2.4-bssUnderflow.patch b/ncompress-4.2.4-bssUnderflow.patch deleted file mode 100644 index 0ae7ec5..0000000 --- a/ncompress-4.2.4-bssUnderflow.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- ncompress-4.2.4/compress42.c.bssUnderflow 2006-08-10 11:40:03.000000000 +0200 -+++ ncompress-4.2.4/compress42.c 2006-08-10 11:40:31.000000000 +0200 -@@ -1689,6 +1689,10 @@ - - if (oldcode == -1) - { -+ if (code >= 256) { -+ fprintf(stderr, "uncompress: corrupt input\n"); -+ abort_compress(); -+ } - outbuf[outpos++] = (char_type)(finchar = (int)(oldcode = code)); - continue; - } diff --git a/ncompress.spec b/ncompress.spec index 72cbbcb..2edd240 100644 --- a/ncompress.spec +++ b/ncompress.spec @@ -25,7 +25,6 @@ Patch2: ncompress-4.2.4.4-filenamelen.patch # ~> #126775 Patch3: ncompress-4.2.4.4-2GB.patch -Patch5: ncompress-4.2.4-bssUnderflow.patch Patch6: ncompress-4.2.4-endians.patch Patch7: ncompress-4.2.4-uncheckedmalloc.patch Patch8: ncompress-4.2.4-memmove.patch @@ -62,7 +61,6 @@ sed "s/\$(ARCH_FLAGS)/$ARCH_FLAGS/" Makefile.def > Makefile %patch1 -p1 -b .lfs %patch2 -p1 -b .filenamelen %patch3 -p1 -b .2GB -%patch5 -p1 -b .bssUnderflow %patch6 -p1 -b .endians %patch7 -p1 -b .malloccheck