Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#690 closed defect (fixed)

crash when reading invalid tta file

Reported by: richardpl 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 richardpl 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by richardpl

comment:1 Changed 5 years ago by michael

  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 5 years ago by cehoyos

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