Hello community, here is the log from the commit of package Mesa checked in at Thu Jan 18 01:35:27 CET 2007. -------- --- Mesa/Mesa.changes 2007-01-09 23:03:03.000000000 +0100 +++ /mounts/work_src_done/STABLE/Mesa/Mesa.changes 2007-01-17 21:40:31.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Jan 17 21:39:41 CET 2007 - sndirsch@suse.de + +- bug-211314_mesa-context.diff: + * fixes Xserver crash in software rendering fallback (Bug #211314) + +------------------------------------------------------------------- New: ---- bug-211314_mesa-context.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Mesa.spec ++++++ --- /var/tmp/diff_new_pack.M26588/_old 2007-01-18 01:35:06.000000000 +0100 +++ /var/tmp/diff_new_pack.M26588/_new 2007-01-18 01:35:06.000000000 +0100 @@ -19,7 +19,7 @@ Obsoletes: xorg-x11-Mesa Autoreqprov: on Version: 6.5.2 -Release: 11 +Release: 13 Summary: Mesa is a 3-D graphics library with an API which is very similar to that of OpenGL.* Source: Mesa-%{version}.tar.bz2 Source3: README.updates @@ -29,6 +29,7 @@ Patch0: disable-sis_dri.diff Patch1: dri_driver_dir.diff Patch2: i915-crossbar.diff +Patch3: bug-211314_mesa-context.diff Patch5: static.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -112,6 +113,7 @@ %patch0 %patch1 %patch2 +%patch3 %patch5 %build @@ -222,6 +224,9 @@ /usr/%{_lib}/libMesaGL.a %changelog -n Mesa +* Wed Jan 17 2007 - sndirsch@suse.de +- bug-211314_mesa-context.diff: + * fixes Xserver crash in software rendering fallback (Bug #211314) * Tue Jan 09 2007 - sndirsch@suse.de - disabled build of sis DRI driver on i64 to fix build * Sat Dec 02 2006 - sndirsch@suse.de ++++++ bug-211314_mesa-context.diff ++++++ --- src/mesa/drivers/x11/xm_api.c.orig 2006-11-30 20:45:42.000000000 +0100 +++ src/mesa/drivers/x11/xm_api.c 2006-11-30 20:47:12.000000000 +0100 @@ -2101,7 +2101,11 @@ static void FXgetImage( XMesaBuffer b ) static unsigned short pixbuf[MAX_WIDTH]; GLuint x, y; GLuint width, height; - XMesaContext xmesa = XMESA_CONTEXT(ctx); + XMesaContext xmesa; + + if (! ctx) + return; + xmesa = XMESA_CONTEXT(ctx); #ifdef XFree86Server x = b->frontxrb->pixmap->x; @@ -2535,7 +2539,9 @@ void XMesaResizeBuffers( XMesaBuffer b ) { GET_CURRENT_CONTEXT(ctx); - XMesaContext xmctx = XMESA_CONTEXT(ctx); - xmesa_check_and_update_buffer_size(xmctx, b); + if (ctx) { + XMesaContext xmctx = XMESA_CONTEXT(ctx); + xmesa_check_and_update_buffer_size(xmctx, b); + } } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org