nginx/src
Vadim Zhestikov 95a24d1b9c
Some checks failed
buildbot / buildbot (push) Has been cancelled
Image filter: fixed reading past the received data
The size parser and the image decoders used ctx->length, which is the
allocation size (set to image_filter_buffer when the upstream response
omits Content-Length), as the amount of valid data, so a truncated
response without Content-Length could be parsed or decoded past the
received bytes into uninitialized buffer memory.

The length is now adjusted to the actually-read size once the response
body has been read.

Reported by dukesp69 and YLChen-007.
2026-07-17 15:02:43 -07:00
..
core Version bump 2026-07-16 12:27:25 -07:00
event Events: support for SO_SNDBUF on outbound peer connections 2026-07-15 16:59:06 +04:00
http Image filter: fixed reading past the received data 2026-07-17 15:02:43 -07:00
mail Mail: style 2026-05-15 16:25:01 +04:00
misc Cpp test: added stream. 2020-10-13 07:44:09 +03:00
os Style 2026-06-10 22:21:10 +04:00
stream Script: avoid garbage at the end of the result string 2026-07-15 19:51:22 +04:00