Package: mp3gain / 1.5.2-r2-2+deb7u1

Metadata

Package Version Patches format
mp3gain 1.5.2-r2-2+deb7u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
02_correct_errorcode_on_failure.diff | (download)

mp3gain.c | 28 16 + 12 - 0 !
1 file changed, 16 insertions(+), 12 deletions(-)

 don't return 0 on error
Date: 2009-07-24 15:23:32 +0200

Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=433757


03_use_tempfile_by_default.diff | (download)

mp3gain.c | 16 10 + 6 - 0 !
1 file changed, 10 insertions(+), 6 deletions(-)

 use tempfile by default

Using a tempfile is a lot faster than direct writes on ReiserFS
and has no disadvantages besides diskspace usage.
We make it the default and let -T restore the old behaviour.


05_fix_segfault_when_files_not_writable.diff | (download)

mp3gain.c | 12 11 + 1 - 0 !
1 file changed, 11 insertions(+), 1 deletion(-)

 fix segfault when files are not writable

Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=444373


06_fix_overwrite_query_loop.diff | (download)

mp3gain.c | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 fix overwrite query loop
Date: 2007-06-17 17:02:34 +0200

Assume "n" if we don't have stdin.

Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=428301


08_trailingspace.diff | (download)

id3tag.c | 11 10 + 1 - 0 !
1 file changed, 10 insertions(+), 1 deletion(-)

 fixing trailing space
09_fix_mem_leaks.diff | (download)

id3tag.c | 2 2 + 0 - 0 !
mp3gain.c | 2 2 + 0 - 0 !
2 files changed, 4 insertions(+)

 fix some issues found by cppcheck
Date: 2010-04-21 00:36:31 +0200


10_fix_potential_segfaults.diff | (download)

mpglibDBL/interface.c | 9 5 + 4 - 0 !
1 file changed, 5 insertions(+), 4 deletions(-)

 fix out of bounds / null ptr accesses found by cppcheck
11_txxx.diff | (download)

id3tag.c | 104 103 + 1 - 0 !
1 file changed, 103 insertions(+), 1 deletion(-)

 in id3 tags, produce txxx frames compatible with winamp, as well
  as the correct RVA2 frames

12_force_update.diff | (download)

mp3gain.c | 7 6 + 1 - 0 !
1 file changed, 6 insertions(+), 1 deletion(-)

 add option to force tag update
0011 CVE 2004 0805 layer2.c fix buffer overflow in layer2.patch | (download)

mpglibDBL/layer2.c | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 cve-2004-0805: layer2.c: fix buffer overflow in layer2 decoder

0012 CVE 2006 1655 fix heap overflow in layer3.c III_anti.patch | (download)

mpglibDBL/layer3.c | 10 8 + 2 - 0 !
1 file changed, 8 insertions(+), 2 deletions(-)

 cve-2006-1655: fix heap overflow in layer3.c::iii_antialias()

This combines two patches taken from mpg123: the original fix by Daniel
Kobras, and "extended fix for CVE-2006-1655" from upstream 0.61.

0013 CVE 2004 0991 fix insufficient validation of MPEG he.patch | (download)

mpglibDBL/layer2.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 cve-2004-0991: fix insufficient validation of mpeg header values

0014 CVE 2004 0991 copy frame size checking from mpg123 0.patch | (download)

mpglibDBL/common.c | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 cve-2004-0991: copy frame size checking from mpg123/0.59r-18

0015 CVE 2003 0577 common.c 0000 is also an invalid bit r.patch | (download)

mpglibDBL/common.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 cve-2003-0577: common.c: 0000 is also an invalid bit rate

According to Daniel Kobras on #201698, this patch is unnecessary...
but it seems better to be careful, since our mpglib is not quite
the same as the one in mpg123.

0016 Increase MAXFRAMESIZE to 3456 bytes which is much cl.patch | (download)

mpglibDBL/mpg123.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 increase maxframesize to 3456 bytes, which is much closer to reality