avformat/dhav: Fix second integer overflow in get_duration()
authorDavid Korczynski <David@Adalogics.com>
Wed, 20 May 2026 22:15:01 +0000 (15:15 -0700)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 14 Jun 2026 02:41:06 +0000 (04:41 +0200)
commita0e7ee5468c89e6be6b565ef2e013262c2dee02b
tree083c189aa5301b99c43a88c744671bf8b0405f4b
parentee25d8ec07ffb20922861dc846fc3602401639b9
avformat/dhav: Fix second integer overflow in get_duration()

Fixes: ada-2-poc.dhav

Found-by: Claude and Ada Logics. This issue was found by Anthropic from using agents to study security of open source projects, and I am from Ada Logics helping validate the found issues and report to maintainers.
(cherry picked from commit 50e65074f5cca638d6dd4cf9db4b6dcf4f0a863e)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/dhav.c