You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/axel/files/axel-2.4-bffr-overflow.patch

17 lines
333 B

http.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/http.c b/http.c
index 5d64e9b..db91701 100644
--- a/http.c
+++ b/http.c
@@ -164,7 +164,7 @@ int http_exec( http_t *conn )
{
i ++;
}
- strncat( conn->headers, s, MAX_QUERY );
+ strncat( conn->headers, s, MAX_QUERY - 1);
}
#ifdef DEBUG