SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
16
audio/libmad/patches/patch-bit_c
Normal file
16
audio/libmad/patches/patch-bit_c
Normal file
|
@ -0,0 +1,16 @@
|
|||
Fixes for CVE-2017-8372, CVE-2017-8373, CVE-2017-8374.
|
||||
From Debian 0.15.1b-10, debian/patches/length-check.patch
|
||||
|
||||
Index: bit.c
|
||||
--- bit.c.orig
|
||||
+++ bit.c
|
||||
@@ -138,6 +138,9 @@ unsigned long mad_bit_read(struct mad_bitptr *bitptr,
|
||||
{
|
||||
register unsigned long value;
|
||||
|
||||
+ if (len == 0)
|
||||
+ return 0;
|
||||
+
|
||||
if (bitptr->left == CHAR_BIT)
|
||||
bitptr->cache = *bitptr->byte;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue