[Fontconfig] Patch: fix null pointer access and missing assignment (spotted by Coverity)

Frederic Crozat fcrozat at mandriva.com
Tue Apr 11 06:24:55 PDT 2006


The following patch fixes two Coverity defects (#767 and #1195) in
fcfreetype.c.

One is cristal clear (access to pointer before NULL test), the other
part might be wrong : error was probably not assigned anymore in the
code (so testing its value was useless after line 2782), so I assumed
error retrieval was missing.
-- 
Frederic Crozat <fcrozat at mandriva.com>
Mandriva
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fontconfig-2.3.94-fcfreetypefixes.patch
Type: text/x-patch
Size: 1511 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20060411/38d0f9ef/fontconfig-2.3.94-fcfreetypefixes-0001.bin


More information about the Fontconfig mailing list