Hello community,

here is the log from the commit of package ksh for openSUSE:Factory checked in 
at 2012-10-19 13:32:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ksh (Old)
 and      /work/SRC/openSUSE:Factory/.ksh.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ksh", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ksh/ksh.changes  2012-09-23 21:06:33.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.ksh.new/ksh.changes     2012-10-19 
13:32:07.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Oct 17 09:22:34 UTC 2012 - [email protected]
+
+- Do not chrash if the value of an environment variable is NULL (bnc#785266) 
+
+-------------------------------------------------------------------

New:
----
  ksh93-env.dif

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

Other differences:
------------------
++++++ ksh.spec ++++++
--- /var/tmp/diff_new_pack.tsQ6i7/_old  2012-10-19 13:32:10.000000000 +0200
+++ /var/tmp/diff_new_pack.tsQ6i7/_new  2012-10-19 13:32:10.000000000 +0200
@@ -110,6 +110,7 @@
 Patch25:        ksh93-vmleak.dif
 Patch26:        ksh93-read-dont-ignore-esc.dif
 Patch27:        astksh_builtin_poll20120806_001.diff
+Patch28:        ksh93-env.dif
 Patch42:        ksh-locale.patch
 
 %description
@@ -193,6 +194,7 @@
 %patch25
 %patch26
 %patch27
+%patch28
 
 %build
   #

++++++ ksh93-env.dif ++++++
--- src/cmd/ksh93/sh/name.c
+++ src/cmd/ksh93/sh/name.c     2012-10-16 12:12:42.846844975 +0000
@@ -2123,7 +2123,7 @@ static void attstore(register Namval_t *
        if((flag&(NV_UTOL|NV_LTOU|NV_INTEGER)) == (NV_UTOL|NV_LTOU))
        {
                data = (void*)nv_mapchar(np,0);
-               if(strcmp(data,e_tolower) && strcmp(data,e_toupper))
+               if(data && strcmp(data,e_tolower) && strcmp(data,e_toupper))
                        return;
        }
        flag &= 
(NV_RDONLY|NV_UTOL|NV_LTOU|NV_RJUST|NV_LJUST|NV_ZFILL|NV_INTEGER);
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to