mirror of
https://github.com/curl/curl.git
synced 2026-06-01 22:34:16 +03:00
Fix unsigned integral math check in add_buffer_send()
This commit is contained in:
parent
22e52ddd6e
commit
4f05613fbb
1 changed files with 1 additions and 1 deletions
|
|
@ -947,7 +947,7 @@ CURLcode add_buffer_send(send_buffer *in,
|
|||
headersize = size - included_body_bytes; /* the initial part that isn't body
|
||||
is header */
|
||||
|
||||
DEBUGASSERT(headersize > 0);
|
||||
DEBUGASSERT(size > included_body_bytes);
|
||||
|
||||
#ifdef CURL_DOES_CONVERSIONS
|
||||
res = Curl_convert_to_network(conn->data, ptr, headersize);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue