Home
last modified time | relevance | path

Searched refs:new_alloc_nbytes (Results 1 – 1 of 1) sorted by relevance

/hostap-3.7.0/src/wps/
Dhttpread.c489 int new_alloc_nbytes; in httpread_read_handler() local
497 new_alloc_nbytes = h->body_alloc_nbytes + in httpread_read_handler()
504 new_alloc_nbytes < (h->content_length + 1)) in httpread_read_handler()
505 new_alloc_nbytes = h->content_length + 1; in httpread_read_handler()
506 if (new_alloc_nbytes < h->body_alloc_nbytes || in httpread_read_handler()
507 new_alloc_nbytes > h->max_bytes + in httpread_read_handler()
511 new_alloc_nbytes, in httpread_read_handler()
516 if ((new_body = os_realloc(h->body, new_alloc_nbytes)) in httpread_read_handler()
520 new_alloc_nbytes); in httpread_read_handler()
525 h->body_alloc_nbytes = new_alloc_nbytes; in httpread_read_handler()