Forums » Development »
Added by vishwas_rv almost 15 years ago
I found a bug in mod_proxy_backend_http.c. Please ignore if this has already been fixed.
In function proxy_http_parse_chunked_stream. The comparison "(size_t)(offset) < (c->mem->used 1)" will not work if mem>used is 0, because the size_t conversion seems to cast it to an unsigned and -1 is now a large positive number as a result the code inside the for loop segfaults.
Thanks,
Vishwas
lighttpd 1.5.x development branch has been abandoned.