diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2015-02-06 15:54:00 -0800 |
---|---|---|
committer | Mike DePaulo <mikedep333@gmail.com> | 2015-03-28 13:06:06 -0400 |
commit | de7bfbf0e61cdbe5e5c094d8a237cdc87e8b1fc3 (patch) | |
tree | 82852fae0d65331752f85289e61d179cd5af5b09 /xkbcomp/compat.h | |
parent | e195099b83a23182925f20028de3e9ea4fe64845 (diff) | |
download | vcxsrv-de7bfbf0e61cdbe5e5c094d8a237cdc87e8b1fc3.tar.gz vcxsrv-de7bfbf0e61cdbe5e5c094d8a237cdc87e8b1fc3.tar.bz2 vcxsrv-de7bfbf0e61cdbe5e5c094d8a237cdc87e8b1fc3.zip |
bdfReadCharacters: bailout if a char's bitmap cannot be read [CVE-2015-1803]
Previously would charge on ahead with a NULL pointer in ci->bits, and
then crash later in FontCharInkMetrics() trying to access the bits.
Found with afl-1.23b.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
(cherry picked from commit 78c2e3d70d29698244f70164428bd2868c0ab34c)
Diffstat (limited to 'xkbcomp/compat.h')
0 files changed, 0 insertions, 0 deletions