diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/axel/files/axel-2.4-bffr-overflow.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/axel/files/axel-2.4-bffr-overflow.patch')
-rw-r--r-- | net-misc/axel/files/axel-2.4-bffr-overflow.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net-misc/axel/files/axel-2.4-bffr-overflow.patch b/net-misc/axel/files/axel-2.4-bffr-overflow.patch new file mode 100644 index 000000000000..24fae8ce19c0 --- /dev/null +++ b/net-misc/axel/files/axel-2.4-bffr-overflow.patch @@ -0,0 +1,16 @@ + 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 |