abcm2ps is a command line program which converts ABC to music sheet in PostScript or SVG format. It is an extension of abc2ps which may handle many voices per staff. abcm2ps is Copyright © 2014-2016 Jean-Francois Moine.
GNU General Public License v3.0
80
stars
31
forks
source link
Null pointer deference in function set_graceoffs() in music.c #94
Closed
chibataiki closed 3 years ago
Hi , Null pointer deference was found in function set_graceoffs() in music.c.
version : b19a91d
env: ubuntu 20.04 x86_64 gcc version 9.3.0 reproduce:
./configure make ./abcm2ps poc
null_pointer_music.cset_graceoffs_760.zip
In the for loop at line 759 and the following code, didn't check the whether
g
is valid.potential fix
or add more check of pointer
p
debug info