diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-10 10:42:05 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-10 10:42:05 +0100 |
commit | 946859e0e36904cffb3e0ccbccb6b7b1347c1cc8 (patch) | |
tree | 0acec77e64f765c013ceda868659a8e125e429df /sys-apps/ipmitool/files/ipmitool-1.8.19-fix-buffer-overflow.patch | |
parent | b9baffd9af9383cc886b1583814fe15163017d80 (diff) |
gentoo auto-resync : 10:09:2022 - 10:42:05
Diffstat (limited to 'sys-apps/ipmitool/files/ipmitool-1.8.19-fix-buffer-overflow.patch')
-rw-r--r-- | sys-apps/ipmitool/files/ipmitool-1.8.19-fix-buffer-overflow.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-apps/ipmitool/files/ipmitool-1.8.19-fix-buffer-overflow.patch b/sys-apps/ipmitool/files/ipmitool-1.8.19-fix-buffer-overflow.patch new file mode 100644 index 000000000000..ceeffde085a7 --- /dev/null +++ b/sys-apps/ipmitool/files/ipmitool-1.8.19-fix-buffer-overflow.patch @@ -0,0 +1,21 @@ +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: 2020-20-21 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +diff -Nuar --exclude '*.orig' ipmitool-50d8c36edf9657720e25445a435dabc44572cf5f.orig/lib/ipmi_tsol.c ipmitool-50d8c36edf9657720e25445a435dabc44572cf5f/lib/ipmi_tsol.c +--- ipmitool-50d8c36edf9657720e25445a435dabc44572cf5f.orig/lib/ipmi_tsol.c 2020-08-07 00:53:06.000000000 -0700 ++++ ipmitool-50d8c36edf9657720e25445a435dabc44572cf5f/lib/ipmi_tsol.c 2020-10-21 13:55:58.571536858 -0700 +@@ -374,7 +374,7 @@ + char *recvip = NULL; + 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; + int out_buff_fill, in_buff_fill; + int ip1, ip2, ip3, ip4; |