aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vorbis-tools/vorbis-tools-cve9640.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-04-06 07:16:28 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-04-06 07:30:26 +0000
commita499374236f0a7e21d54d20cfe582e816c5a173b (patch)
tree286463c25cf936d9b7826d23102e5d9779783a59 /testing/vorbis-tools/vorbis-tools-cve9640.patch
parentc3ae7a69b00d06d85b438fe59ea33379ec38140e (diff)
downloadaports-a499374236f0a7e21d54d20cfe582e816c5a173b.tar.bz2
aports-a499374236f0a7e21d54d20cfe582e816c5a173b.tar.xz
testing/vorbis-tools: new aport. Fixes #5365
Diffstat (limited to 'testing/vorbis-tools/vorbis-tools-cve9640.patch')
-rw-r--r--testing/vorbis-tools/vorbis-tools-cve9640.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/vorbis-tools/vorbis-tools-cve9640.patch b/testing/vorbis-tools/vorbis-tools-cve9640.patch
new file mode 100644
index 0000000000..97d18e0db7
--- /dev/null
+++ b/testing/vorbis-tools/vorbis-tools-cve9640.patch
@@ -0,0 +1,29 @@
+Index: vorbis-tools/oggenc/oggenc.c
+===================================================================
+--- vorbis-tools/oggenc/oggenc.c (revision 19116)
++++ vorbis-tools/oggenc/oggenc.c (revision 19117)
+@@ -98,4 +98,6 @@
+ 0,0,0.f,
+ 0, 0, 0, 0, 0};
++ input_format raw_format = {NULL, 0, raw_open, wav_close, "raw",
++ N_("RAW file reader")};
+
+ int i;
+@@ -240,6 +242,4 @@
+ if(opt.rawmode)
+ {
+- input_format raw_format = {NULL, 0, raw_open, wav_close, "raw",
+- N_("RAW file reader")};
+
+ enc_opts.rate=opt.raw_samplerate;
+Index: vorbis-tools/oggenc/skeleton.h
+===================================================================
+--- vorbis-tools/oggenc/skeleton.h (revision 19116)
++++ vorbis-tools/oggenc/skeleton.h (revision 19117)
+@@ -42,5 +42,5 @@
+ ogg_int64_t start_granule; /* start granule value */
+ ogg_uint32_t preroll; /* preroll */
+- unsigned char granule_shift; // a 8-bit field /* 1 byte value holding the granule shift */
++ unsigned char granule_shift; /* 1 byte value holding the granule shift */
+ char *message_header_fields; /* holds all the message header fields */
+ /* current total size of the message header fields, for realloc purpose, initially zero */