Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#690 closed defect (fixed)

crash when reading invalid tta file

Reported by: Elon Musk Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: tta crash SIGSEGV
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Got segmentation:

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `ffprobe_g'.
Program terminated with signal 11, Segmentation fault.
#0 0x08062016 in tta_read_packet (s=dwarf2_read_address: Corrupted DWARF expression.
) at tta.c:130
130 size = st->index_entries[c->currentframe].size;
[New Thread 28405300 (LWP 1807013/ffprobe_g)]
(gdb) bt
#0 0x08062016 in tta_read_packet (s=dwarf2_read_address: Corrupted DWARF expression.
) at tta.c:130
#1 0x08064ac5 in av_read_packet (s=Unhandled dwarf expression opcode 0xa7
) at utils.c:750
#2 0x080653af in read_frame_internal (s=Unhandled dwarf expression opcode 0x0
) at utils.c:1221
#3 0x080682ae in avformat_find_stream_info (ic=Unhandled dwarf expression opcode 0xd7
) at utils.c:2452
#4 0x08048b20 in main (argc=2, argv=0xbfbfe680) at ffprobe.c:1085
Current language: auto; currently minimal
(gdb)

Attachments (1)

ff.tta (14 bytes ) - added by Elon Musk 10 years ago.

Download all attachments as: .zip

Change History (3)

by Elon Musk, 10 years ago

Attachment: ff.tta added

comment:1 by Michael Niedermayer, 10 years ago

Reproduced by developer: set
Resolution: fixed
Status: newclosed

comment:2 by Carl Eugen Hoyos, 10 years ago

Keywords: tta crash SIGSEGV added
Summary: crash when probin invalid tta filecrash when reading invalid tta file
Note: See TracTickets for help on using tickets.