]> git.wh0rd.org - fontconfig.git/commitdiff
Avoid writing uninitialized structure pad bytes to cache files.
authorKeith Packard <keithp@neko.keithp.com>
Sat, 2 Dec 2006 21:04:05 +0000 (13:04 -0800)
committerKeith Packard <keithp@neko.keithp.com>
Sat, 2 Dec 2006 21:04:05 +0000 (13:04 -0800)
The union inside the FcValue structure contains pad bytes. Instead of
copying the whole structure to the cache block, copy only the initialized
fields to avoid writing whichever bytes serve as padding within the
structure.


No differences found