commit | 5a441fcfdb666952420dfef28e783d58c940c50c | [log] [tgz] |
---|---|---|
author | Chenming Huang <quic_chenhuan@quicinc.com> | Thu Jan 02 08:57:34 2025 +0530 |
committer | Gabriel Biren <gbiren@google.com> | Thu Jan 02 20:26:25 2025 +0000 |
tree | 714933cec11555966f1e0132d26b2bceb34c1d5e | |
parent | c96df1bce39842064a3d736690ad8b201f73b74f [diff] |
Fix mul-overflow when converting scan result's age from ms to us wifi_cached_scan_result's age_ms is a u32, which may cause mul-overflow when multiplied by 1000. Fix this by explicitly converting the type to u64 before doing multiplication. Bug: 387187200 Test: m Change-Id: Idaeb7bf5185b776cdeddb18c83f1b5b32e8b68a2