diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-23 15:07:04 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-23 15:07:04 +0200 |
commit | 1acb8ee5140d8a2d474700987435bc0630cb24f2 (patch) | |
tree | ee04e68e7699b21b235a16c667d27348a71b1d03 /debian/patches/101_fix_buf_overflow.patch | |
parent | 777af8a8761d05c30588abec7444b143fe7393f0 (diff) |
New maintainerdebian/1.8.14-3
Diffstat (limited to 'debian/patches/101_fix_buf_overflow.patch')
-rw-r--r-- | debian/patches/101_fix_buf_overflow.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/101_fix_buf_overflow.patch b/debian/patches/101_fix_buf_overflow.patch new file mode 100644 index 0000000..68f05d8 --- /dev/null +++ b/debian/patches/101_fix_buf_overflow.patch @@ -0,0 +1,22 @@ +Description: fix buffer overflow + based on 101_fix_buf_overflow from Leo Iannacone <l3on@ubuntu.com> +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 +--- +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; + char *recvip = NULL; + char out_buff[IPMI_BUF_SIZE * 8], in_buff[IPMI_BUF_SIZE]; +- char buff[IPMI_BUF_SIZE + 4]; ++ char buff[IPMI_BUF_SIZE * 8 + 4]; + int fd_socket, result, i; + int out_buff_fill, in_buff_fill; + int ip1, ip2, ip3, ip4; |