Package: mp3val
Version: 0.1.4-2
Severity: normal

--- Please enter the report below this line. ---

mp3val is not big endian safe.

Lines like 
        *((unsigned char *)&bitrate_index)=((baseptr[index+2])>>4)&0x0F;
(329: mpegparse.cpp)
make the Program crash on PowerPC (and every other big endian architecture).

For bitrate of 128 the bitrate_index should point to 9, but it points to
150994944.

I also checked version 1.7, but it has the same problems.

--- System information. ---
Architecture: powerpc
Kernel:       Linux 2.6.18-4-powerpc

Debian Release: 4.0
  500 stable          security.debian.org 
  500 stable          ftp2.de.debian.org 

--- Package information. ---
Depends           (Version) | Installed
===========================-+-=============
libc6          (>= 2.3.5-1) | 2.3.6.ds1-13
libgcc1        (>= 1:4.1.0) | 1:4.1.1-21
libstdc++6       (>= 4.1.0) | 4.1.1-21




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to