Your message dated Mon, 22 Nov 2010 10:31:51 +0100
with message-id <aanlktinxmdypko1kr=b=wpk9vnwh-kjbuvn11z3sa...@mail.gmail.com>
and subject line Fixed in sid
has caused the Debian Bug report #603807,
regarding faad segfaults on amd64 due to incorrect pointer size
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
603807: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603807
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: faad
Version: 2.7-4
Severity: serious
Tags: patch sid squeeze upstream

This bug was reported on Ubuntu [1] and it affects Debian Squeeze too.
I've tried to reproduce it and here is the result:

ales...@alessio-laptop:~$ faad -b 2 -f 2 -w sample.aac 
 *********** Ahead Software MPEG-4 AAC Decoder V2.7 ******************

 Build: Oct 26 2009
 Copyright 2002-2004: Ahead Software AG
 http://www.audiocoding.com
 Floating point version

 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License.

 **************************************************************************

sample.aac file info:
ADTS, 4.608 sec, 13 kbps, 16000 Hz

  ---------------------
 | Config:  2 Ch       |
  ---------------------
 | Ch |    Position    |
  ---------------------
 | 00 | Left front     |
 | 01 | Right front    |
  ---------------------

Segmentation fault.aac.


A patch to fix this is available on Launchpad, I'm attaching it here:

--- frontend/audio.c.orig       2010-10-24 15:36:19.673485313 +0800
+++ frontend/audio.c    2010-10-24 15:36:43.323775214 +0800
@@ -347,7 +347,7 @@
 {
     int ret;
     unsigned int i;
-    long *sample_buffer24 = (long*)sample_buffer;
+    int *sample_buffer24 = (int*)sample_buffer;
     char *data = malloc(samples*aufile->bits_per_sample*sizeof(char)/8);
 
     aufile->total_samples += samples;
@@ -391,7 +391,7 @@
 {
     int ret;
     unsigned int i;
-    long *sample_buffer32 = (long*)sample_buffer;
+    int *sample_buffer32 = (int*)sample_buffer;
     char *data = malloc(samples*aufile->bits_per_sample*sizeof(char)/8);
 
     aufile->total_samples += samples;


[1] https://launchpad.net/bugs/665802

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages faad depends on:
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib
ii  libfaad2                      2.7-4      freeware Advanced Audio Decoder - 

faad recommends no packages.

faad suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 2.7-5

Hi,

although the change is not mentioned, the latest 2.7-5 in sid fixes this.
We're working on a new upload which would allow us to make the package
migrate to testing.

-- 
Alessio Treglia <ales...@debian.org>
Debian & Ubuntu Developer | Homepage: http://www.alessiotreglia.com
0FEC 59A5 E18E E04F 6D40 593B 45D4 8C7C DCFC 3FD0


--- End Message ---
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to