Hello community, here is the log from the commit of package sblim-sfcb for openSUSE:Factory checked in at Fri Mar 12 01:53:43 CET 2010. -------- --- sblim-sfcb/sblim-sfcb.changes 2010-03-10 21:17:06.000000000 +0100 +++ /mounts/work_src_done/STABLE/sblim-sfcb/sblim-sfcb.changes 2010-03-11 15:39:15.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Mar 11 14:20:00 UTC 2010 - kkaempf@novell.com + +- clone CMPI_chars return value from invokeMethod called via + local interface (bnc#578189, upstream #2968656) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- 10009-2968656-bnc578189-clone-cmpi_chars-return-value-for-.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sblim-sfcb.spec ++++++ --- /var/tmp/diff_new_pack.l6l3Tl/_old 2010-03-12 01:53:28.000000000 +0100 +++ /var/tmp/diff_new_pack.l6l3Tl/_new 2010-03-12 01:53:28.000000000 +0100 @@ -21,7 +21,7 @@ Name: sblim-sfcb Version: 1.3.7 -Release: 1 +Release: 2 Group: System/Management License: Other uncritical OpenSource License ; "CPL 1.0 ..." ; CPL 1.0 Url: http://sblim.sf.net/ @@ -55,6 +55,7 @@ Patch10004: 10006-2952616-internalProvider-is-not-Threadsafe.patch Patch10005: 10007-2948647-getObjectPath-may-dereference-NULL-pointer.patch Patch10006: 10008-2967257-prefer-CMPI_chars-over-CMPI_classNameString.patch +Patch10007: 10009-2968656-bnc578189-clone-cmpi_chars-return-value-for-.patch Provides: cimserver Provides: cim-server @@ -113,6 +114,7 @@ %patch10004 -p1 %patch10005 -p1 %patch10006 -p1 +%patch10007 -p1 export PATCH_GET=0 ++++++ 10009-2968656-bnc578189-clone-cmpi_chars-return-value-for-.patch ++++++
From ddfe536d7b14bd3e2f3b5203d8fbae9e95a12182 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?=
Date: Thu, 11 Mar 2010 15:12:52 +0100 Subject: [PATCH] 2968656 bnc578189 clone cmpi_chars return value for invokeMethod
--- cimcClientSfcbLocal.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/cimcClientSfcbLocal.c b/cimcClientSfcbLocal.c index f44418c..99c38da 100644 --- a/cimcClientSfcbLocal.c +++ b/cimcClientSfcbLocal.c @@ -1222,8 +1222,9 @@ static CMPIData invokeMethod( CMAddArg(out,(char*)name->hdl,&data.value,data.type); } if (resp->rvValue) { + /* check method return value for pass-by-reference types */ if (resp->rv.type==CMPI_chars) { - resp->rv.value.chars=(long)resp->rvEnc.data+(char*)resp; + resp->rv.value.chars=strdup((long)resp->rvEnc.data+(char*)resp); } else if (resp->rv.type==CMPI_dateTime) { resp->rv.value.dateTime= -- 1.6.4.2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org