I noticed that in src/sov/config/fontconfig.c, 'popen' is called without checking for NULL (e.g. if fc-match was not in $PATH). For better error messages (instead of a crash because of a NULL, or maybe even silently continuing or corrupting memory on systems without memory protection), I recommend checking the return value.
I noticed that in src/sov/config/fontconfig.c, 'popen' is called without checking for
NULL
(e.g. if fc-match was not in $PATH). For better error messages (instead of a crash because of a NULL, or maybe even silently continuing or corrupting memory on systems without memory protection), I recommend checking the return value.