New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=48a25811abb5aebae2a2a9a56a78f1506a7b0326
commit 48a25811abb5aebae2a2a9a56a78f1506a7b0326
Author: Ilyes Gouta <[email protected]>
Date: Wed Nov 7 09:10:12 2012 -0500
idirectfbdisplaylayer: check if data->stack isn't NULL before calling any
cursor routines
For example, calling IDirectFBDisplayLayer_EnableCursor() leads to a
SIGSEGV within
dfb_windowstack_lock() because of a deference of the uninitialized
CoreWindowStack *stack
variable.
The patch introduces few more additional checks, just like what has been
implemented in
IDirectFBDisplayLayer_SetBackgroundMode() and
IDirectFBDisplayLayer_SetBackgroundImage().
Signed-off-by: Ilyes Gouta <[email protected]>
src/display/idirectfbdisplaylayer.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs