package/libmad: switch to debian to fix CVEs
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 12 Apr 2020 10:18:45 +0000 (12:18 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 12 Apr 2020 20:21:02 +0000 (22:21 +0200)
commit858df3643f00fa717057f4868ea68b11fbaa12e1
tree3fc73296a23de3bfb230613cbc5fa00bac9c9568
parent210ccaef5784011bc035d0ae13611cb4e76f389f
package/libmad: switch to debian to fix CVEs

Upstream libmad is dead since 2004 so switch to debian package to get
two patches that fix the following CVEs:
 - CVE-2017-8372: The mad_layer_III function in layer3.c in Underbit MAD
   libmad 0.15.1b, if NDEBUG is omitted, allows remote attackers to
   cause a denial of service (assertion failure and application exit)
   via a crafted audio file.
 - CVE-2017-8373: The mad_layer_III function in layer3.c in Underbit MAD
   libmad 0.15.1b allows remote attackers to cause a denial of service
   (heap-based buffer overflow and application crash) or possibly have
   unspecified other impact via a crafted audio file.
 - CVE-2017-8374: The mad_bit_skip function in bit.c in Underbit MAD
   libmad 0.15.1b allows remote attackers to cause a denial of service
   (heap-based buffer over-read and application crash) via a crafted
   audio file.

Moreover:
 - Remove third patch (replaced by optimize.diff debian patch)
 - Remove fourth patch (same patch than
   Provide-Thumb-2-alternative-code-for-MAD_F_MLN.diff)
 - Remove fifth patch (same patch than libmad.thumb.diff)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libmad/0002-configure-ac-automake-foreign.patch [new file with mode: 0644]
package/libmad/0003-remove-deprecated-cflags.patch [deleted file]
package/libmad/0004-thumb2-fixed-arm.patch [deleted file]
package/libmad/0005-thumb2-imdct-arm.patch [deleted file]
package/libmad/0006-configure-ac-automake-foreign.patch [deleted file]
package/libmad/libmad.hash
package/libmad/libmad.mk