summaryrefslogtreecommitdiff
path: root/debian/patches/101_fix_buf_overflow.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-12-02 08:52:40 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-12-02 08:52:40 +0100
commitaf16369cd594e64abec0d662f0fdbfe487c212d5 (patch)
tree6ad054d0ac2d95f392cf3d4994b8d204e3c2c4bf /debian/patches/101_fix_buf_overflow.patch
parent096a497b36f208fb68a12c7ae7576ca0a69f919d (diff)
new release 1.8.15, Debian bug #766418), some other work
Diffstat (limited to 'debian/patches/101_fix_buf_overflow.patch')
-rw-r--r--debian/patches/101_fix_buf_overflow.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/patches/101_fix_buf_overflow.patch b/debian/patches/101_fix_buf_overflow.patch
index 68f05d8..f479558 100644
--- a/debian/patches/101_fix_buf_overflow.patch
+++ b/debian/patches/101_fix_buf_overflow.patch
@@ -4,17 +4,17 @@ Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
Bug: TSOL buffer overflow
Bug-ubuntu: https://bugs.launchpad.net/ubuntu/+source/ipmitool/+bug/633054
Forwarded: https://sourceforge.net/p/ipmitool/patches/100/
-Last-Update: 2014-05-18
+Last-Update: 2014-12-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/lib/ipmi_tsol.c
===================================================================
---- trunk.orig/lib/ipmi_tsol.c 2014-05-18 19:36:46.059192272 +0200
-+++ trunk/lib/ipmi_tsol.c 2014-05-18 19:37:36.028189246 +0200
-@@ -385,7 +385,7 @@
- socklen_t mylen;
+--- trunk.orig/lib/ipmi_tsol.c
++++ trunk/lib/ipmi_tsol.c
+@@ -374,7 +374,7 @@ ipmi_tsol_main(struct ipmi_intf *intf, i
char *recvip = NULL;
- char out_buff[IPMI_BUF_SIZE * 8], in_buff[IPMI_BUF_SIZE];
+ char in_buff[IPMI_BUF_SIZE];
+ char out_buff[IPMI_BUF_SIZE * 8];
- char buff[IPMI_BUF_SIZE + 4];
+ char buff[IPMI_BUF_SIZE * 8 + 4];
int fd_socket, result, i;