diff options
Diffstat (limited to 'debian/patches/fix_sdr_segfault')
-rw-r--r-- | debian/patches/fix_sdr_segfault | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/fix_sdr_segfault b/debian/patches/fix_sdr_segfault new file mode 100644 index 0000000..b9680e0 --- /dev/null +++ b/debian/patches/fix_sdr_segfault @@ -0,0 +1,13 @@ +diff -Nur ipmitool-1.8.11/lib/ipmi_sdr.c ipmitool-1.8.11.fix/lib/ipmi_sdr.c +--- ipmitool-1.8.11/lib/ipmi_sdr.c 2009-02-25 21:38:52.000000000 +0100 ++++ ipmitool-1.8.11.fix/lib/ipmi_sdr.c 2011-08-10 18:21:26.000000000 +0200 +@@ -1828,7 +1828,7 @@ + printf("ns | %2d.%1d | ", + sensor->entity.id, + sensor->entity.instance); +- if (IS_SCANNING_DISABLED(rsp->data[1])) ++ if (rsp && IS_SCANNING_DISABLED(rsp->data[1])) + printf("Disabled"); + else + printf("No Reading"); + |