Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/wps/
Dhttpread.c491 int new_alloc_nbytes; in httpread_read_handler() local
499 new_alloc_nbytes = h->body_alloc_nbytes + in httpread_read_handler()
506 new_alloc_nbytes < (h->content_length + 1)) in httpread_read_handler()
507 new_alloc_nbytes = h->content_length + 1; in httpread_read_handler()
508 if (new_alloc_nbytes < h->body_alloc_nbytes || in httpread_read_handler()
509 new_alloc_nbytes > h->max_bytes) { in httpread_read_handler()
512 new_alloc_nbytes); in httpread_read_handler()
515 if ((new_body = os_realloc(h->body, new_alloc_nbytes)) in httpread_read_handler()
519 new_alloc_nbytes); in httpread_read_handler()
524 h->body_alloc_nbytes = new_alloc_nbytes; in httpread_read_handler()