错误I GET:断言失败:(angle_max >= angle_min),函数_cairo_arc_in_direction,文件cairo-arc.c,第189行。
使用一些svg图标,我的代码可以正常工作,但其中一些图标会导致问题(上面的错误)
const svgContent = fs.readFileSync(`/path/to/svg`, 'utf8');
canvg(canvas, svgContent);发布于 2019-09-18 11:35:52
这里是开罗的CVE-2019-6462。如果您能够从源代码构建Cairo,这里有一个补丁:https://github.com/clearlinux-pkgs/cairo/blob/master/CVE-2019-6462.patch。
https://stackoverflow.com/questions/55656685
复制相似问题