• Mike DePaulo's avatar
    CVE-2014-0209: integer overflow of realloc() size in FontFileAddEntry() from… · f53f2474
    Mike DePaulo authored
    CVE-2014-0209: integer overflow of realloc() size in FontFileAddEntry() from xorg/lib/libXfont commit 2f5e57317339c526e6eaee1010b0e2ab8089c42e
    
    FontFileReadDirectory() opens a fonts.dir file, and reads over every
    line in an fscanf loop.  For each successful entry read (font name,
    file name) a call is made to FontFileAddFontFile().
    
    FontFileAddFontFile() will add a font file entry (for the font name
    and file) each time it’s called, by calling FontFileAddEntry().
    FontFileAddEntry() will do the actual adding.  If the table it has
    to add to is full, it will do a realloc, adding 100 more entries
    to the table size without checking to see if that will overflow the
    int used to store the size.
    f53f2474
Name
Last commit
Last update
..
GL Loading commit data...
X11 Loading commit data...
XRes Loading commit data...
Xau Loading commit data...
Xcomposite Loading commit data...
Xcursor Loading commit data...
Xdamage Loading commit data...
Xdmcp Loading commit data...
Xext Loading commit data...
Xfixes Loading commit data...
Xinerama Loading commit data...
Xpm Loading commit data...
Xrandr Loading commit data...
Xrender Loading commit data...
Xtst Loading commit data...
Xxf86dga Loading commit data...
Xxf86misc Loading commit data...
Xxf86rush Loading commit data...
Xxf86vm Loading commit data...
font Loading commit data...
misc Loading commit data...
oldX Loading commit data...
xkbfile Loading commit data...
xkbui Loading commit data...
xtrans Loading commit data...
Imakefile Loading commit data...