aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libvorbis/libvorbis-1.2.3/patch-lib_modes_residue_44u.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-16 15:45:17 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-16 16:09:07 +0800
commit9d5cc61a1f2ed61433541abfcbbbe5e4cb3bf0d6 (patch)
tree0157f464cdf92640452c05a1923941b5b2d9e73e /recipes/libvorbis/libvorbis-1.2.3/patch-lib_modes_residue_44u.h
parent778845163c7978a4b912ca8f8be647f12f7a451e (diff)
downloadopenembedded-9d5cc61a1f2ed61433541abfcbbbe5e4cb3bf0d6.tar.gz
libvorbis-1.2.3: Address CVE-2009-3379
Fix handling of malformed Vorbis streams that would crash libvorbis. CVE-2008-1420 (improved), CVE-2009-3379. Patches are coming from FreeBSD.
Diffstat (limited to 'recipes/libvorbis/libvorbis-1.2.3/patch-lib_modes_residue_44u.h')
-rw-r--r--recipes/libvorbis/libvorbis-1.2.3/patch-lib_modes_residue_44u.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/libvorbis/libvorbis-1.2.3/patch-lib_modes_residue_44u.h b/recipes/libvorbis/libvorbis-1.2.3/patch-lib_modes_residue_44u.h
new file mode 100644
index 0000000000..4c0cb74ae1
--- /dev/null
+++ b/recipes/libvorbis/libvorbis-1.2.3/patch-lib_modes_residue_44u.h
@@ -0,0 +1,30 @@
+$FreeBSD: ports/audio/libvorbis/files/patch-lib_modes_residue_44u.h,v 1.1 2009/11/24 21:32:39 naddy Exp $
+--- lib/modes/residue_44u.h.orig 2009-07-08 07:40:12.000000000 +0200
++++ lib/modes/residue_44u.h 2009-11-24 21:46:47.000000000 +0100
+@@ -23,7 +23,7 @@
+
+
+ static const vorbis_info_residue0 _residue_44_low_un={
+- 0,-1, -1, 8,-1,
++ 0,-1, -1, 8,-1,-1,
+ {0},
+ {-1},
+ { .5, 1.5, 1.5, 2.5, 2.5, 4.5, 28.5},
+@@ -31,7 +31,7 @@ static const vorbis_info_residue0 _resid
+ };
+
+ static const vorbis_info_residue0 _residue_44_mid_un={
+- 0,-1, -1, 10,-1,
++ 0,-1, -1, 10,-1,-1,
+ /* 0 1 2 3 4 5 6 7 8 9 */
+ {0},
+ {-1},
+@@ -40,7 +40,7 @@ static const vorbis_info_residue0 _resid
+ };
+
+ static const vorbis_info_residue0 _residue_44_hi_un={
+- 0,-1, -1, 10,-1,
++ 0,-1, -1, 10,-1,-1,
+ /* 0 1 2 3 4 5 6 7 8 9 */
+ {0},
+ {-1},