freeipmi/fix-buffer-overflow.patch
Klaus Kämpf 5f48591bfc - FreeIPMI 1.2.5 - 02/26/13
-------------------------
  o In all config tools (bmc-config, ipmi-pef-config,
    ipmi-chassis-config, ipmi-sensors-config), fix bug when user
    specifies --checkout and --filename option and no data outputs to
    file.
  o In all config tools, exit with value 1 when non-fatal errors
    occur.
    Exit with value 2 when fatal errors occur.
  o Support Supermicro X9SPU-F-O OEM sensors and events.
  o Support Supermicro X9DRI-LN4F+ OEM intepretations (previously
    forgotten).
  o Clarify use of --filename in config tool manpages.
  
- FreeIPMI 1.2.4 - 01/10/12 
  ------------------------- 
  o Support Supermicro X9DRI-LN4F+ OEM sensors and events. 
  o Fix output corner case for "session-based" channels. 
  o Fix ipmi-oem set-power-restore-delay corner case in time settings. 
  o Fix ipmiseld memleak. 
  o Fix libfreeipmi potential fd leak when generating random numbers. 
  o Fix libfreeipmi error output bug in RMCP interface. 
  o Fix several minor corner cases discovered by static code analysis.

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/freeipmi?expand=0&rev=18
2013-02-28 08:23:16 +00:00

13 lines
736 B
Diff

diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in ../orig-freeipmi-1.2.5/libfreeipmi/sel/ipmi-sel-string-intel.c ./libfreeipmi/sel/ipmi-sel-string-intel.c
--- ../orig-freeipmi-1.2.5/libfreeipmi/sel/ipmi-sel-string-intel.c 2013-01-10 01:05:03.000000000 +0100
+++ ./libfreeipmi/sel/ipmi-sel-string-intel.c 2013-02-28 09:18:00.724771244 +0100
@@ -2333,7 +2333,7 @@
uint8_t dimm_slot_id;
char *error_type_str;
char *processor_socket_str;
- char channel_number_str[INTEL_EVENT_BUFFER_LENGTH];
+ char channel_number_str[INTEL_EVENT_BUFFER_LENGTH + 1];
char channel_number_char = 0;
char *dimm_slot_id_str;
int processor_socket_valid = 0;