チケット #36308

segfault in function message() with malformed input file

登録: 2016-05-06 05:05 最終更新: 2016-05-08 09:34

報告者:
担当者:
チケットの種類:
状況:
完了
コンポーネント:
(未割り当て)
マイルストーン:
(未割り当て)
優先度:
5 - 中
重要度:
5 - 中
解決法:
なし
ファイル:
なし

詳細

https://crashes.fuzzing-project.org/lha-segfault-message.lha

This file - when passed to "lha x" will cause a segfault. Found with american fuzzy lop. Error seems similar to #36297 (invalid memory read access without clear reason).

This is the error message from Address Sanitizer:

==6984==ERROR: AddressSanitizer: SEGV on unknown address 0x7f0000000000 (pc 0x7f7e883607d0 bp 0x7ffedba54340 sp 0x7ffedba53dd0 T0)
==6984==The signal is caused by a READ memory access.
    #0 0x7f7e883607cf in _IO_vfprintf /var/tmp/portage/sys-libs/glibc-2.23-r2/work/glibc-2.23/stdio-common/vfprintf.c:1632
    #1 0x7f7e88361730 in buffered_vfprintf /var/tmp/portage/sys-libs/glibc-2.23-r2/work/glibc-2.23/stdio-common/vfprintf.c:2320
    #2 0x7f7e8835ead4 in _IO_vfprintf /var/tmp/portage/sys-libs/glibc-2.23-r2/work/glibc-2.23/stdio-common/vfprintf.c:1293
    #3 0x7f7e8840dd0a in __vfprintf_chk /var/tmp/portage/sys-libs/glibc-2.23-r2/work/glibc-2.23/debug/vfprintf_chk.c:33
    #4 0x525cd8 in vfprintf /usr/include/bits/stdio2.h:127:10
    #5 0x525cd8 in message /f/lha/lha/src/lharc.c:725
    #6 0x52650b in cleanup /f/lha/lha/src/lharc.c:823:9
    #7 0x5255fa in lha_exit /f/lha/lha/src/lharc.c:1461:5
    #8 0x533a74 in make_table /f/lha/lha/src/maketbl.c:53:9
    #9 0x5163e1 in read_c_len /f/lha/lha/src/huf.c:410:9
    #10 0x5163e1 in decode_c_st1 /f/lha/lha/src/huf.c:424
    #11 0x53d483 in decode /f/lha/lha/src/slide.c:438:13
    #12 0x4faf2f in decode_lzhuf /f/lha/lha/src/extract.c:97:15
    #13 0x52dfef in extract_one /f/lha/lha/src/lhext.c:463:23
    #14 0x52dfef in cmd_extract /f/lha/lha/src/lhext.c:574
    #15 0x524456 in main /f/lha/lha/src/lharc.c:680:9
    #16 0x7f7e8833878f in __libc_start_main /var/tmp/portage/sys-libs/glibc-2.23-r2/work/glibc-2.23/csu/../csu/libc-start.c:289
    #17 0x419888 in _start (/mnt/ram/lha/lha+0x419888)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /var/tmp/portage/sys-libs/glibc-2.23-r2/work/glibc-2.23/stdio-common/vfprintf.c:1632 in _IO_vfprintf

チケットの履歴 (3 件中 3 件表示)

2016-05-06 05:05 更新者: hanno
  • 新しいチケット "segfault in function message() with malformed input file" が作成されました
2016-05-06 12:15 更新者: arai
  • 担当者(未割り当て) から arai に更新されました
2016-05-08 09:34 更新者: arai
  • 状況オープン から 完了 に更新されました
  • チケット完了時刻2016-05-08 09:34 に更新されました
コメント

Changed at 0f89645 to avoid this error, but I can't understand why this is happened.

添付ファイルリスト

添付ファイルはありません

編集

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする