You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently working on fuzz testing feature, and we found a crash on abcm2ps.
The stack traces are as follow:
warning:Possible buffer overflow
===================================================================616==ERROR:AddressSanitizer: memcpy-param-overlap: memory ranges [0x631000000800,0x6310000105e6) and [0x631000000823, 0x631000010609) overlap
#00x7fa84d5c5425 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x79425)
#10x55cb9853c8ac in write_buffer .../abcm2ps-git/buffer.c:894
#20x55cb9853b46e in a2b .../abcm2ps-git/buffer.c:749
#30x55cb9856085c in draw_note .../abcm2ps-git/draw.c:1843
#40x55cb9857a1d1 in draw_symbols .../abcm2ps-git/draw.c:4744
#50x55cb9857b211 in draw_all_symb .../abcm2ps-git/draw.c:4866
#60x55cb985b98ae in output_music .../abcm2ps-git/music.c:5120
#70x55cb985c089a in generate .../abcm2ps-git/parse.c:1042
#80x55cb985c0c22 in gen_ly .../abcm2ps-git/parse.c:1063
#90x55cb985ce717 in get_info .../abcm2ps-git/parse.c:3057
#100x55cb985d2815 in do_tune .../abcm2ps-git/parse.c:3510
#110x55cb98523d60 in abc_eof .../abcm2ps-git/abcparse.c:202
#120x55cb9858c9f7 in frontend .../abcm2ps-git/front.c:906
#130x55cb98520154 in treat_file .../abcm2ps-git/abcm2ps.c:240
#140x55cb98520272 in treat_abc_file .../abcm2ps-git/abcm2ps.c:283
#150x55cb98522d45 in main .../abcm2ps-git/abcm2ps.c:1041
We configured abcm2ps using CFLAGS="-g -O0 -fsanitize=address" LDFLAGS="-g -O0 -fsanitize=address" ./configure --disable-shared and built in using make -j10; make install, and run it with:
Hello,
We are currently working on fuzz testing feature, and we found a crash on
abcm2ps
.The stack traces are as follow:
Here is the full stack trace :
stacktrace_abcm2ps_3.zip
Step to reproduce
We configured
abcm2ps
usingCFLAGS="-g -O0 -fsanitize=address" LDFLAGS="-g -O0 -fsanitize=address" ./configure --disable-shared
and built in usingmake -j10; make install
, and run it with:Attachment:
input_abcm2ps_3.zip
Environment
Thank you.
The text was updated successfully, but these errors were encountered: