]> git.kaiwu.me - nginx.git/commit
Mp4: fixed reading 64-bit atoms.
authorRoman Arutyunyan <arut@nginx.com>
Tue, 6 Nov 2018 13:29:18 +0000 (16:29 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Tue, 6 Nov 2018 13:29:18 +0000 (16:29 +0300)
commit1d4c2fb6da12f3d103849cb9384687213f1656cf
treef35c11581ae9d32daf903e6dafff012f1dc9d4bf
parent8a23ea2af52d4c181171d82690132b756c233e88
Mp4: fixed reading 64-bit atoms.

Previously there was no validation for the size of a 64-bit atom
in an mp4 file.  This could lead to a CPU hog when the size is 0,
or various other problems due to integer underflow when calculating
atom data size, including segmentation fault or worker process
memory disclosure.
src/http/modules/ngx_http_mp4_module.c