Displaying 1 result from an estimated 1 matches for "type1fontinfo".
2017 May 19
1
Null pointer dereference?
I was curious if this was a real null pointer dereference issue in
R-devel/src/library/grDevices/src/devPS.c on line 1009?
1000: static type1fontinfo makeType1Font()
1001: {
1002: type1fontinfo font = (Type1FontInfo *) malloc(sizeof(Type1FontInfo));
1003: /*
1004: * Initialise font->metrics.KernPairs to NULL
1005: * so that we know NOT to free it if we fail to
1006: * load this font and have to
1007: * bail out and...