xf86-video-intel: src/sna/sna_glyphs.c
Chris Wilson
ickle at kemper.freedesktop.org
Tue Sep 9 00:14:12 PDT 2014
src/sna/sna_glyphs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 07fe45b84bdf0d236a5bfdc433cc1a908e0c161b
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Tue Sep 9 08:12:45 2014 +0100
sna/glyphs: Prevent NULL vfunc deref with glyphs
Requires running a PRIME setup with Intel loaded as the secondary GPU
and attempting to execute an empty glyph string.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_glyphs.c b/src/sna/sna_glyphs.c
index 94d702a..a4052c6 100644
--- a/src/sna/sna_glyphs.c
+++ b/src/sna/sna_glyphs.c
@@ -727,7 +727,7 @@ next_glyph:
}
list++;
}
- if (glyph_atlas)
+ if (glyph_atlas != NO_ATLAS)
tmp.done(sna, &tmp);
return true;
More information about the xorg-commit
mailing list