summaryrefslogtreecommitdiff
path: root/debian/patches/0100-fix_buf_overflow.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2022-09-10 18:42:22 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2022-09-10 18:42:22 +0200
commit2a31db85c38fc8c0b2482136a619b35ef0ee2e52 (patch)
treed15d6100a59c41a870fd0aaeedcf6444573c06a9 /debian/patches/0100-fix_buf_overflow.patch
parentd83fb6dd0cdb8d4509fda0c6e77bbeb0fcd018a8 (diff)
Refresh patches
Diffstat (limited to 'debian/patches/0100-fix_buf_overflow.patch')
-rw-r--r--debian/patches/0100-fix_buf_overflow.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/0100-fix_buf_overflow.patch b/debian/patches/0100-fix_buf_overflow.patch
index 174d205..1651487 100644
--- a/debian/patches/0100-fix_buf_overflow.patch
+++ b/debian/patches/0100-fix_buf_overflow.patch
@@ -11,12 +11,12 @@ Index: trunk/lib/ipmi_tsol.c
===================================================================
--- trunk.orig/lib/ipmi_tsol.c
+++ trunk/lib/ipmi_tsol.c
-@@ -375,7 +375,7 @@ ipmi_tsol_main(struct ipmi_intf *intf, i
+@@ -374,7 +374,7 @@ ipmi_tsol_main(struct ipmi_intf *intf, i
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;
+ size_t out_buff_fill, in_buff_fill;
int ip1, ip2, ip3, ip4;