Hello community, here is the log from the commit of package powerpc-utils checked in at Tue Sep 30 14:12:20 CEST 2008. -------- --- arch/ppc/powerpc-utils/powerpc-utils.changes 2008-09-15 17:02:09.000000000 +0200 +++ /mounts/work_src_done/STABLE/powerpc-utils/powerpc-utils.changes 2008-09-30 08:55:19.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Sep 30 08:54:23 CEST 2008 - olh@suse.de + +- fix malloc size lsslot (bnc#430790 - LTC48583) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- powerpc-utils-papr.lsslot.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ powerpc-utils.spec ++++++ --- /var/tmp/diff_new_pack.g32161/_old 2008-09-30 14:12:11.000000000 +0200 +++ /var/tmp/diff_new_pack.g32161/_new 2008-09-30 14:12:11.000000000 +0200 @@ -25,7 +25,7 @@ Obsoletes: ppc64-utils Provides: ppc64-utils Version: 1.1.1 -Release: 3 +Release: 4 License: IBM Public License Url: http://powerpc-utils.ozlabs.org/ Group: System/Management @@ -41,6 +41,7 @@ Patch3: powerpc-utils.ofpathname.bootlist.patch Patch4: powerpc-utils-papr.open-flag.patch Patch5: powerpc-utils-papr.insserv-ibmvscsis.patch +Patch6: powerpc-utils-papr.lsslot.patch ExclusiveArch: ppc ppc64 %description @@ -64,6 +65,7 @@ cd powerpc-utils-papr-%{papr_version} %patch4 -p1 %patch5 -p1 +%patch6 -p1 %build make CFLAGS="$RPM_OPT_FLAGS" %{?jobs:-j%jobs} @@ -99,6 +101,8 @@ %config %attr (755,root,root) /etc/init.d/ibmvscsis.sh %changelog +* Tue Sep 30 2008 olh@suse.de +- fix malloc size lsslot (bnc#430790 - LTC48583) * Mon Sep 15 2008 olh@suse.de - update powerpc-utils-papr to 1.1.2 (bnc#417533) compile with new libservicelog sources ++++++ powerpc-utils-papr.lsslot.patch ++++++ Bug 430790 - UPT-LTE: lsslot in powerpc-utils-papr package aborts unexpectly The reason is that if the content in devspec in sysfs doesn't start with '/'(e.g. the content in "/sys/devices/vio/devspec" is "none"), the full_path_len in function of_to_full_path() is not enough to hold the OFDT_BASE, of_path, an additional '/' char, and the terminating null byte. --- cmds/drmgr/common_ofdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/cmds/drmgr/common_ofdt.c +++ b/cmds/drmgr/common_ofdt.c @@ -177,7 +177,7 @@ of_to_full_path(const char *of_path) return NULL; } } else { - full_path_len = strlen(OFDT_BASE) + strlen(of_path) + 1; + full_path_len = strlen(OFDT_BASE) + strlen(of_path) + 2; full_path = malloc(full_path_len); if (full_path == NULL) { err_msg("malloc failed\n"); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de