0728bd93f6
- bsc#1163026 - CVE-2020-5208 - Use license macro for COPYING, instead of doc - Add ChangeLog mainline log to docs for shorter obs changelogs. This will be the last more detailed changelog, due to more important buffer overflow patches. Otherwise this changelog will not include (mainline) changes anymore. - Update to version 1.8.18+git20200204.7ccea28: * fru, sdr: Fix id_string buffer overflows * lanp: Fix buffer overflows in get_lan_param_select * channel: Fix buffer overflow * session: Fix buffer overflow in ipmi_get_session_info * fru: Fix buffer overflow in ipmi_spd_print_fru * fru: Fix buffer overflow vulnerabilities * chassis: bootmbox: Refix 62a04390 * configure: Drop requirement for curses et. al libs - Add a configure option to disable IANA PEN database internet download A autotools_define_DOWNLOAD.diff D create_pen_list_from_local_file.patch - New pen database: M enterprise-numbers - Patches adjusted to latest mainline code: M fix_file_permissions.patch M ipmitool_adjust_suse_paths.patch M several_more_compile_fixes.patch OBS-URL: https://build.opensuse.org/request/show/773431 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmitool?expand=0&rev=51
43 lines
1.1 KiB
Diff
43 lines
1.1 KiB
Diff
Cleanup and compiler issues only, no functional change
|
|
|
|
Changes partly very old and not possible to find the original author.
|
|
|
|
Signed-off-by: Thomas Renninger <trenn@suse.de>
|
|
|
|
---
|
|
lib/ipmi_ekanalyzer.c | 2 +-
|
|
lib/ipmi_picmg.c | 4 ++--
|
|
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
--- a/lib/ipmi_ekanalyzer.c
|
|
+++ b/lib/ipmi_ekanalyzer.c
|
|
@@ -4013,7 +4013,7 @@
|
|
(feature & 1) ? "Source" : "Receiver");
|
|
printf("\tFamily: 0x%02x - AccLVL: 0x%02x\n",
|
|
family, accuracy);
|
|
- printf("\tFRQ: %-9ld - min: %-9ld - max: %-9ld\n",
|
|
+ printf("\tFRQ: %-9lu - min: %-9lu - max: %-9lu\n",
|
|
freq, min_freq, max_freq);
|
|
}
|
|
printf("\n");
|
|
--- a/lib/ipmi_picmg.c
|
|
+++ b/lib/ipmi_picmg.c
|
|
@@ -949,7 +949,7 @@
|
|
}
|
|
else if (d->type >= 0x06 && d->type <= 0xef)
|
|
{
|
|
- printf("Reserved\n");
|
|
+ printf("Reserved %d\n",d->type);
|
|
}
|
|
else if (d->type >= 0xf0 && d->type <= 0xfe)
|
|
{
|
|
@@ -1805,7 +1805,7 @@
|
|
oemval2str( rsp->data[3], rsp->data[4],
|
|
picmg_clk_accuracy_vals));
|
|
|
|
- printf(" - Freq: %ld\n", freq);
|
|
+ printf(" - Freq: %lu\n", freq);
|
|
}
|
|
}
|
|
}
|