commit dmidecode for openSUSE:Factory
Hello community, here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2018-11-06 13:57:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dmidecode (Old) and /work/SRC/openSUSE:Factory/.dmidecode.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "dmidecode" Tue Nov 6 13:57:42 2018 rev:35 rq:643888 version:3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2018-09-20 11:38:38.564955834 +0200 +++ /work/SRC/openSUSE:Factory/.dmidecode.new/dmidecode.changes 2018-11-06 13:57:45.379976519 +0100 @@ -1,0 +2,6 @@ +Mon Oct 22 14:51:29 CEST 2018 - jdelvare@suse.de + +- dmidecode-fix-redfish-hostname-print-length.patch: Fix Redfish + Hostname print length (bsc#1112755). + +------------------------------------------------------------------- @@ -4 +10 @@ -- Update to upstream version 3.2: +- Update to upstream version 3.2 (FATE#326044): New: ---- dmidecode-fix-redfish-hostname-print-length.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dmidecode.spec ++++++ --- /var/tmp/diff_new_pack.ZICWxd/_old 2018-11-06 13:57:45.991975682 +0100 +++ /var/tmp/diff_new_pack.ZICWxd/_new 2018-11-06 13:57:45.995975676 +0100 @@ -27,6 +27,7 @@ Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz.sig # https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode Source2: %{name}.keyring +Patch1: dmidecode-fix-redfish-hostname-print-length.patch Provides: pmtools:%{_sbindir}/dmidecode Obsoletes: pmtools < 20071117 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -49,6 +50,7 @@ %prep %setup -q +%patch1 -p1 %build make CFLAGS="%{optflags}" %{?_smp_mflags} ++++++ dmidecode-fix-redfish-hostname-print-length.patch ++++++ From: Charles Rose <Charles.Rose@dell.com> Date: Mon, 22 Oct 2018 09:48:02 +0200 Subject: dmidecode: Fix Redfish Hostname print length Git-commit: fde47bb227b8fa817c88d7e10a8eb771c46de1df Patch-mainline: yes References: bsc#1112755 Redfish Hostname prints beyond hlen characters. Fix it. Signed-off-by: Charles Rose <charles.rose@dell.com> Fixes: 78539b06117c ("dmidecode: Parse Modern Management Controller blocks") Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Jean Delvare <jdelvare@suse.de> --- dmidecode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/dmidecode.c +++ b/dmidecode.c @@ -3609,7 +3609,7 @@ static void dmi_parse_protocol_record(co hname = out_of_spec; hlen = strlen(out_of_spec); } - printf("%s\t\tRedfish Service Hostname: %*s\n", prefix, hlen, hname); + printf("%s\t\tRedfish Service Hostname: %.*s\n", prefix, hlen, hname); } /*
participants (1)
-
root