Menu

#171 faad segfaults on amd64 due to incorrect pointer size

None
closed-fixed
nobody
None
5
2017-07-02
2010-11-17
quadrispro
No

This bug was filed against the Ubuntu package (https://launchpad.net/bugs/665802) and it affects Debian Squeeze too.
I've tried to reproduce it and here is the result:

alessio@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.
Thanks in advance.

Discussion

  • quadrispro

    quadrispro - 2010-11-17
     
  • Fabian Greffrath

    Could you please apply this one too?

     
  • Krzysztof Nikiel

    I think we should use something like u_int32_t here.

     
  • Fabian Greffrath

    Yes, probably. I currently have no 64-bit system to try out.

     
  • Krzysztof Nikiel

    • status: open --> closed-fixed
    • Group: -->
     

Log in to post a comment.

Monday.com Logo