Hello community,

here is the log from the commit of package xlockmore for openSUSE:Factory 
checked in at 2015-03-18 13:04:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xlockmore (Old)
 and      /work/SRC/openSUSE:Factory/.xlockmore.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xlockmore"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xlockmore/xlockmore.changes      2015-03-11 
09:58:50.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.xlockmore.new/xlockmore.changes 2015-03-18 
13:04:39.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Mar 10 17:12:23 UTC 2015 - [email protected]
+
+- fix a crash in nose mode (bnc#882747)
+  * added xlockmore-nose_mode_crash.patch
+
+-------------------------------------------------------------------

New:
----
  xlockmore-nose_mode_crash.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xlockmore.spec ++++++
--- /var/tmp/diff_new_pack.TQPCGJ/_old  2015-03-18 13:04:40.000000000 +0100
+++ /var/tmp/diff_new_pack.TQPCGJ/_new  2015-03-18 13:04:40.000000000 +0100
@@ -40,6 +40,7 @@
 # PATCH-FIX-UPSTREAM xlockmore-extend-freetype-include-search.patch -- search 
only for freetype.h, not the half path. Also,
 # extended list of directories where could freetype be found
 Patch9:         xlockmore-extend-freetype-include-search.patch
+Patch10:        xlockmore-nose_mode_crash.patch
 BuildRequires:  ImageMagick-devel
 BuildRequires:  automake
 BuildRequires:  bc
@@ -85,6 +86,7 @@
 %patch7
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
 
 %build
 aclocal


++++++ xlockmore-nose_mode_crash.patch ++++++
Index: xlockmore-5.43/modes/nose.c
===================================================================
--- xlockmore-5.43.orig/modes/nose.c    2013-02-18 15:53:14.000000000 +0100
+++ xlockmore-5.43/modes/nose.c 2015-03-10 20:44:01.731745516 +0100
@@ -584,6 +584,11 @@ talk(ModeInfo * mi, Bool force_erase)
        register char *p, *p2;
        char        buf[BUFSIZ], args[MAXLINES][MAXWIDTH];
 
+       /* don't try to talk without a graphics context */
+       if (!np->text_bg_gc) {
+               return;
+       }
+
        /* clear what we've written */
        if (np->talking || force_erase) {
                if (!np->talking)
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to