summaryrefslogtreecommitdiffhomepage
path: root/src/misc/ngx_cpp_test_module.cpp
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2026-02-21 12:04:36 +0400
committerRoman Arutyunyan <arutyunyan.roman@gmail.com>2026-03-24 22:33:23 +0400
commita172c880cb51f882a5dc999437e8b3a4f87630cc (patch)
tree9434fd96b9f5715bba8578cd8a77c90b9f8a48b4 /src/misc/ngx_cpp_test_module.cpp
parent3986410e12e2b1abc81965dd96598d4c2dd02b00 (diff)
downloadnginx-a172c880cb51f882a5dc999437e8b3a4f87630cc.tar.gz
nginx-a172c880cb51f882a5dc999437e8b3a4f87630cc.tar.bz2
Mp4: avoid zero size buffers in output.
Previously, data validation checks did not cover the cases when the output contained empty buffers. Such buffers are considered illegal and produce "zero size buf in output" alerts. The change rejects the mp4 files which produce such alerts. Also, the change fixes possible buffer overread and overwrite that could happen while processing empty stco and co64 atoms, as reported by Pavel Kohout (Aisle Research) and Tim Becker.
Diffstat (limited to 'src/misc/ngx_cpp_test_module.cpp')
0 files changed, 0 insertions, 0 deletions