Menu

#331 A Floating point exception in wav.c:950:80

closed-invalid
nobody
None
5
2020-08-03
2020-08-03
zhouan
No

System info

Ubuntu X64, gcc (Ubuntu 5.5.0-12ubuntu1), sox (sox-14.4.2)

Command line

./src/sox ./FPE-wav-950 /tmp/sox.flac remix - norm -3 highpass 22 gain -3 rate 48k norm -3 dither

Output

Floating point exception

AddressSanitizer output

AddressSanitizer:DEADLYSIGNAL
=================================================================
==4680==ERROR: AddressSanitizer: FPE on unknown address 0x00000062ccba (pc 0x00000062ccba bp 0x7ffd18336cd0 sp 0x7ffd183368e0 T0)
    #0 0x62ccb9 in startread /home/seviezhou/$(CC)sox/src/wav.c:950:80
    #1 0x53d728 in open_read /home/seviezhou/$(CC)sox/src/formats.c:545:32
    #2 0x51bf30 in main /home/seviezhou/$(CC)sox/src/sox.c:2945:20
    #3 0x7fed8309c83f in __libc_start_main /build/glibc-e6zv40/glibc-2.23/csu/../csu/libc-start.c:291
    #4 0x41dce8 in _start (/home/seviezhou/$(CC)sox/src/sox+0x41dce8)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: FPE /home/seviezhou/$(CC)sox/src/wav.c:950:80 in startread
==4680==ABORTING
1 Attachments

Discussion

  • Mans Rullgard

    Mans Rullgard - 2020-08-03
    • status: open --> closed-invalid
     
  • Mans Rullgard

    Mans Rullgard - 2020-08-03

    Previously fixed in commit 6e177c455fb5 "wav: fix crash if channel count is zero (CVE-2017-11332)"

     

Log in to post a comment.

MongoDB Logo MongoDB