1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 07:16:37 +02:00

xfer: fix out-of-bounds write in xfer_dcc_resume_hash (#2326)

This commit is contained in:
aizu-m
2026-06-18 00:59:45 +05:30
committed by Sébastien Helleu
parent 12c4170fbf
commit 703120bbfb
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -242,8 +242,8 @@ int
xfer_dcc_resume_hash (struct t_xfer *xfer)
{
char *buf;
unsigned long long total_read;
ssize_t length_buf, to_read, num_read;
unsigned long long total_read, length_buf, to_read;
ssize_t num_read;
int ret, fd;
total_read = 0;