Hello community,

here is the log from the commit of package yast2-core for openSUSE:Factory 
checked in at 2013-10-24 14:15:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-core (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-core.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-core"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-core/yast2-core.changes    2013-10-20 
10:54:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-core.new/yast2-core.changes       
2013-10-24 14:15:34.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Oct 21 14:02:54 UTC 2013 - [email protected]
+
+- generateYCPWrappers: check also for YCPNull to avoid segfault
+  when a parameter is missing (bnc#846467)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ yast2-core-3.1.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-core-3.1.3/base/tools/devtools/generateYCPWrappers 
new/yast2-core-3.1.3/base/tools/devtools/generateYCPWrappers
--- old/yast2-core-3.1.3/base/tools/devtools/generateYCPWrappers        
2013-10-15 17:05:18.000000000 +0200
+++ new/yast2-core-3.1.3/base/tools/devtools/generateYCPWrappers        
2013-10-22 09:16:03.000000000 +0200
@@ -82,7 +82,7 @@
                push (@tests, "// m_param$paramcount may be nil");
            }
            else {
-               push (@tests, "if (m_param$paramcount->isVoid()) 
{ycp2error(\"Parameter %d is nil, %s is required\", $paramcount, \"$type\"); 
return YCPVoid();}");
+               push (@tests, "if (m_param$paramcount.isNull() || 
m_param$paramcount->isVoid()) {ycp2error(\"Parameter %d is nil, %s is 
required\", $paramcount, \"$type\"); return YCPVoid();}");
 
            }
            $type = "m_param" . $paramcount . "->as" . $type . "()" ;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-core-3.1.3/package/yast2-core.changes 
new/yast2-core-3.1.3/package/yast2-core.changes
--- old/yast2-core-3.1.3/package/yast2-core.changes     2013-10-15 
17:05:19.000000000 +0200
+++ new/yast2-core-3.1.3/package/yast2-core.changes     2013-10-22 
09:16:03.000000000 +0200
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Mon Oct 21 14:02:54 UTC 2013 - [email protected]
+
+- generateYCPWrappers: check also for YCPNull to avoid segfault
+  when a parameter is missing (bnc#846467)
+
+-------------------------------------------------------------------
 Tue Oct 15 09:24:53 UTC 2013 - [email protected]
 
 - Dropped documentation generated by makebuildindocs, not include

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to