Commit
8c8741fe2000d4b4d89a53f894363a42288cec3e attempted to fix this
expression and make it use the full range of long long, but it missed
the millisecond term.
This fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=522.
The entire timestamp can still overflow long long though.
ass_msg(library, MSGL_WARN, "Bad timestamp");
return 0;
}
- tm = ((h * 60LL + m) * 60 + s) * 1000 + ms * 10;
+ tm = ((h * 60LL + m) * 60 + s) * 1000 + ms * 10LL;
return tm;
}