diff src/http/ngx_http_core_module.c @ 8043:1afd19dc7161

Mp4: fixed potential overflow in ngx_http_mp4_crop_stts_data(). Both "count" and "duration" variables are 32-bit, so their product might potentially overflow. It is used to reduce 64-bit start_time variable, and with very large start_time this can result in incorrect seeking. Found by Coverity (CID 1499904).
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 07 Jun 2022 21:58:52 +0300
parents 711737177b77
children 4cc2bfeff46c 8d0753760546
line wrap: on
line diff