Package: mp3check
Version: 0.8.0-4
Followup-For: Bug #399047
I found the bug, and here's the patch.
Also, upstream will be informed...
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages mp3check depends on:
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-19 GCC support library
ii libstdc++5 1:3.3.6-13 The GNU Standard C++ Library v3
mp3check recommends no packages.
-- no debconf information
Gemeinsame Unterverzeichnisse: orig/debian und patched/debian.
diff -C 2 orig/mp3check.cc patched/mp3check.cc
*** orig/mp3check.cc 2006-11-17 15:24:22.000000000 +0100
--- patched/mp3check.cc 2006-11-17 15:37:03.000000000 +0100
***************
*** 1134,1138 ****
if(have_a_tag)
{
! if(tag->restore((unsigned char*)p - (128 - rest))) {
fmes(name, "%scut-junk-end: tag successfully restored%s\n",
cok, cnor);
} else {
--- 1134,1138 ----
if(have_a_tag)
{
! if(tag->restore((unsigned char*)p )) {
fmes(name, "%scut-junk-end: tag successfully restored%s\n",
cok, cnor);
} else {