Package: libfontconfig1
Version: 2.4.1-2

The following call causes segmentation fault because of the lack of NULL 
pointer checking in libfontconfig. Compile with "gcc test.c -lfontconfig". 
(Also note that the libfontconfig1-dev package has to be also installed.)

#include <fontconfig/fontconfig.h>
#include <stdio.h>

int main() {
 printf("Calling FcFontSetDestroy(NULL)...\n");
 FcFontSetDestroy(NULL);
 printf("done.\n");
 return 0;
}


Current output:
Calling FcFontSetDestroy(NULL)...
Segmentation fault

Expected output:
Calling FcFontSetDestroy(NULL)...
done.






"Diszlexiás-e a gyermekem?" - 25 kérdéses gyorsteszt (hálás lesz utána, akármi 
is az eredmény!) 

A látható link a következő: http://www.varazsbetu.hu/diszlexiateszt 



Reply via email to