mirror of
https://github.com/curl/curl.git
synced 2026-08-03 02:40:29 +03:00
also rename the *other* SIZE_MAX
This commit is contained in:
parent
06b1ac8cc9
commit
519faefd9e
1 changed files with 1 additions and 1 deletions
|
|
@ -310,7 +310,7 @@ static struct buf_chunk *get_spare(struct bufq *q)
|
|||
}
|
||||
else {
|
||||
/* Check for integer overflow before allocation */
|
||||
if(q->chunk_size > SIZE_MAX - sizeof(*chunk)) {
|
||||
if(q->chunk_size > SIZE_T_MAX - sizeof(*chunk)) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue