Hello community, here is the log from the commit of package xlockmore checked in at Thu Jun 5 18:00:50 CEST 2008. -------- --- xlockmore/xlockmore.changes 2008-06-03 16:33:47.000000000 +0200 +++ /mounts/work_src_done/STABLE/xlockmore/xlockmore.changes 2008-06-05 14:19:39.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Jun 5 14:12:40 CEST 2008 - pgajdos@suse.cz + +- prevented against segfault when wrong locale selected [#90543] + (null-fontset.patch) + +------------------------------------------------------------------- New: ---- xlockmore-null-fontset.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xlockmore.spec ++++++ --- /var/tmp/diff_new_pack.Wh1840/_old 2008-06-05 17:59:38.000000000 +0200 +++ /var/tmp/diff_new_pack.Wh1840/_new 2008-06-05 17:59:38.000000000 +0200 @@ -19,7 +19,7 @@ Obsoletes: xlock AutoReqProv: on Version: 5.25 -Release: 14 +Release: 16 Summary: Screen Saver and Locker for the X Window System Url: http://www.tux.org/~bagleyd/xlockmore.html Source: %{name}-%{version}.tar.bz2 @@ -36,6 +36,7 @@ Patch5: xlockmore-gltt-libttf.patch Patch6: xlockmore-gltt+ftgl.patch Patch7: xlockmore-strict-aliasing.patch +Patch8: xlockmore-null-fontset.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -88,6 +89,7 @@ %patch5 %patch6 %patch7 +%patch8 %build %{?suse_update_config:%{suse_update_config -f}} @@ -149,6 +151,9 @@ %endif %changelog +* Thu Jun 05 2008 pgajdos@suse.cz +- prevented against segfault when wrong locale selected [#90543] + (null-fontset.patch) * Tue Jun 03 2008 pgajdos@suse.cz - removed mode text3d2 (xlockmore isn't linked against ftgl from now) [bnc#352683] ++++++ xlockmore-null-fontset.patch ++++++ --- xlock/xlock.c +++ xlock/xlock.c @@ -3367,6 +3367,8 @@ #ifdef USE_MB fontset = createFontSet(dsp, fontsetname); + if (fontset == NULL) + exit(1); XmbTextExtents(fontset, "Aj", 1, NULL, &mbRect); planfontset = createFontSet(dsp, planfontsetname); XmbTextExtents(planfontset, "Aj", 1, NULL, &planmbRect); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org