Your message dated Tue, 23 Nov 2010 01:32:13 +0000
with message-id <e1pkhjx-0005hg...@franck.debian.org>
and subject line Bug#603807: fixed in faad2 2.7-6
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 ---
Source: faad2
Source-Version: 2.7-6

We believe that the bug you reported is fixed in the latest version of
faad2, which is due to be installed in the Debian FTP archive:

faad2-dbg_2.7-6_amd64.deb
  to main/f/faad2/faad2-dbg_2.7-6_amd64.deb
faad2_2.7-6.diff.gz
  to main/f/faad2/faad2_2.7-6.diff.gz
faad2_2.7-6.dsc
  to main/f/faad2/faad2_2.7-6.dsc
faad_2.7-6_amd64.deb
  to main/f/faad2/faad_2.7-6_amd64.deb
libfaad-dev_2.7-6_amd64.deb
  to main/f/faad2/libfaad-dev_2.7-6_amd64.deb
libfaad2_2.7-6_amd64.deb
  to main/f/faad2/libfaad2_2.7-6_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 603...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andres Mejia <mcita...@gmail.com> (supplier of updated faad2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 22 Nov 2010 19:17:36 -0500
Source: faad2
Binary: libfaad-dev libfaad2 faad2-dbg faad
Architecture: source amd64
Version: 2.7-6
Distribution: unstable
Urgency: high
Maintainer: Debian multimedia packages maintainers 
<pkg-multimedia-maintain...@lists.alioth.debian.org>
Changed-By: Andres Mejia <mcita...@gmail.com>
Description: 
 faad       - freeware Advanced Audio Decoder player
 faad2-dbg  - freeware Advanced Audio Decoder - debugging symbols
 libfaad-dev - freeware Advanced Audio Decoder - development files
 libfaad2   - freeware Advanced Audio Decoder - runtime files
Closes: 603807
Changes: 
 faad2 (2.7-6) unstable; urgency=high
 .
   [ Alessio Treglia ]
   * Fix segmentation fault in faad due to an incorrect pointer size
     (Closes: #603807, LP: #665802).
   * Add gbp config file.
 .
   [ Andres Mejia ]
   * Revert changes in 2.7-5. Upload of 2.7-5 was unintentionally done.
   * Refresh patches.
Checksums-Sha1: 
 dfcb37ec35c3659c5b5014fe5ebe07f7edc6144e 1433 faad2_2.7-6.dsc
 9a550bc0ac498580b7ca08c9c447d02f0e9e850c 6329 faad2_2.7-6.diff.gz
 1a4cdd35ff2918b222ba51b7dc30405a7730e4e3 190384 libfaad-dev_2.7-6_amd64.deb
 0aa58883ca070e5c7c4fcdb7ee838e433dedb3e9 172212 libfaad2_2.7-6_amd64.deb
 4711789a21c6bbfa45fe4242e94f8b7b412ecb26 189904 faad2-dbg_2.7-6_amd64.deb
 bee140816e86cbaa84943f2c9581ef4189a45f1a 31044 faad_2.7-6_amd64.deb
Checksums-Sha256: 
 28fe2751980d845877cb3aafb8abf287682a83c1f9e9e1723a22b757d9de115d 1433 
faad2_2.7-6.dsc
 b10de65892e892570cad7e7e0681be289e1e9b12e6a164ec90a057164720d3d4 6329 
faad2_2.7-6.diff.gz
 eb31e14564a4d89b7f7e0ca3b8d1e96975cc4f3d7a7c3aa892c76b4372d5fe78 190384 
libfaad-dev_2.7-6_amd64.deb
 5d700a34eb4f9d791ffbca6c6a93f6a80e27f9725c37ade150178093dd89fc3f 172212 
libfaad2_2.7-6_amd64.deb
 5f17ee6b2d9d3fd021116287b5bf1dcb2a2e35fad501ed1df4bff69ead7f9c1c 189904 
faad2-dbg_2.7-6_amd64.deb
 af0ce267f7e5b66990370e009f67f67282c2ed483d6fc6e54ba53c823b478cdb 31044 
faad_2.7-6_amd64.deb
Files: 
 1f39bd77ab7d6c0a4483387f847d73c0 1433 libs optional faad2_2.7-6.dsc
 d48050535cc51f587d5bc5cdde59aae9 6329 libs optional faad2_2.7-6.diff.gz
 021967e35f27b3d0bab16764fd3dcee4 190384 libdevel optional 
libfaad-dev_2.7-6_amd64.deb
 dcf3586d0790caa2e672d6ebe17d539d 172212 libs optional libfaad2_2.7-6_amd64.deb
 7d8b4561826659aa68bd9ef870f095bf 189904 debug extra faad2-dbg_2.7-6_amd64.deb
 e34f4fdf70a0b7ed73d3da8bd68e7272 31044 sound optional faad_2.7-6_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkzrFygACgkQgsFbAuXxMZbHNACeOKfazxubdKuEQDc5W9U8S/2/
jWIAoNi5+CT+Xzn0TbhSFyjJ42qIMa8+
=Js64
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to