libXfont: Changes to 'libXfont-1.4-branch'
Alan Coopersmith
alanc at kemper.freedesktop.org
Mon Apr 21 22:11:45 PDT 2014
New branch 'libXfont-1.4-branch' available with the following commits:
commit 9b41f3d0c7c430a2909c9455eff347e714f0c4b4
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Apr 20 18:10:07 2014 -0700
Require fontsproto < 2.1.3 for matching function prototypes
Building libXfont-1.4.x against fontsproto 2.1.3 causes clang
complaints of:
patcache.c:130:1: error: conflicting types for 'CacheFontPattern'
CacheFontPattern (FontPatternCachePtr cache,
^
patcache.c:176:1: error: conflicting types for 'FindCachedFontPattern'
FindCachedFontPattern (FontPatternCachePtr cache,
^
due to the constification of arguments not matching.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Thomas Klausner <wiz at NetBSD.org>
commit 371f8582a33235afa1b61d76e4fe98bdc9d7c083
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Apr 20 17:59:14 2014 -0700
Check if pointer returned by BufFileCreate is NULL before writing to it
Fixes clang analyzer warning:
bufio.c:165:13: warning: Access to field 'bufp' results in a dereference
of a null pointer (loaded from variable 'f')
f->bufp = f->buffer;
~ ^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Thomas Klausner <wiz at NetBSD.org>
(cherry picked from commit c77a0784bdfc8c178f0742689cf6ae02a2fce37f)
commit 5bb34807642589e5b592b04418855fd059fc5022
Author: Peter Harris <pharris at opentext.com>
Date: Mon Apr 7 14:25:02 2014 -0400
Fix buffer read overrun
"FreeType" is only eight bytes long. The atom "FreeType\x00\x??" is
probably not what the author intended.
Signed-off-by: Peter Harris <pharris at opentext.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
(cherry picked from commit c8855746aec2a9b732502da0ca3258b4e701c61a)
More information about the xorg-commit
mailing list