Commit 435403d5 authored by Philipp Schafft's avatar Philipp Schafft 🦁
Browse files

Fix: Corrected memory access in vcut

Closes: #2264
parent 837b61f9
...@@ -30,6 +30,7 @@ vorbis-tools 1.?.? -- 2020-12-?? ...@@ -30,6 +30,7 @@ vorbis-tools 1.?.? -- 2020-12-??
* ogginfo: Corrected reported duration for Theora streams * ogginfo: Corrected reported duration for Theora streams
* ogginfo: Added support for Opus, FLAC, and speex * ogginfo: Added support for Opus, FLAC, and speex
* vcut: Corrected code to match language specification (#1701) * vcut: Corrected code to match language specification (#1701)
* vcut: Corrected memory access (#2264, Debian bug: #818037)
* vorbiscomment: Added -d/--rm to allow removal of tags * vorbiscomment: Added -d/--rm to allow removal of tags
* vorbiscomment: Fixed handling of short files * vorbiscomment: Fixed handling of short files
......
...@@ -163,7 +163,7 @@ static int submit_headers_to_stream(vcut_state *s) ...@@ -163,7 +163,7 @@ static int submit_headers_to_stream(vcut_state *s)
for(i=0;i<4;i++) for(i=0;i<4;i++)
{ {
ogg_packet p; ogg_packet p;
if(i < 4) /* a header packet */ if(i < 3) /* a header packet */
{ {
p.bytes = vs->headers[i].length; p.bytes = vs->headers[i].length;
p.packet = vs->headers[i].packet; p.packet = vs->headers[i].packet;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment