diff options
author | Nathan <ndowens@artixlinux.org> | 2020-10-21 23:52:14 +0000 |
---|---|---|
committer | Nathan <ndowens@artixlinux.org> | 2020-10-24 20:24:10 +0000 |
commit | 25ce85c1d3f2f59f72b7de44700404864b2e56a5 (patch) | |
tree | 3c7e9254a1bddfeed699b580a3a1116cefa6bcac /user/vorbis-tools/vorbis-tools-cve9640.patch | |
parent | 2b0e79727fefc4f22e1ea43f3c8c6981b17c8926 (diff) | |
download | packages-25ce85c1d3f2f59f72b7de44700404864b2e56a5.tar.gz packages-25ce85c1d3f2f59f72b7de44700404864b2e56a5.tar.bz2 packages-25ce85c1d3f2f59f72b7de44700404864b2e56a5.tar.xz packages-25ce85c1d3f2f59f72b7de44700404864b2e56a5.zip |
user/vorbis-tools: Add
Diffstat (limited to 'user/vorbis-tools/vorbis-tools-cve9640.patch')
-rw-r--r-- | user/vorbis-tools/vorbis-tools-cve9640.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/user/vorbis-tools/vorbis-tools-cve9640.patch b/user/vorbis-tools/vorbis-tools-cve9640.patch new file mode 100644 index 000000000..97d18e0db --- /dev/null +++ b/user/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 */
|