[Fontconfig-bugs] [Bug 69845] race condition issue?

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 5 11:48:50 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=69845

--- Comment #10 from Behdad Esfahbod <freedesktop at behdad.org> ---
Why this change:

- memset (new->map, '\0', sizeof (new->map));
- memcpy (new->map, ls->map, FC_MIN (sizeof (new->map), ls->map_size * sizeof
(ls->map[0])));
+ memcpy (new->map, ls->map, sizeof (ls->map));

It's wrong.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20131205/1eaa5fbd/attachment.html>


More information about the Fontconfig-bugs mailing list