diff options
| author | 2026-11-06 09:39:42 +0100 | |
|---|---|---|
| committer | 2026-11-06 09:39:42 +0100 | |
| commit | 9fdbf585f47501ba19a53fd4bb382d5b533e3fdd (patch) | |
| tree | 021112e47dbe5d3af6a4f5808c8a752dd6b96083 /src/Date.cpp | |
| parent | 70a64c23c9d77b114dcc71e70e69aa8868693f3f (diff) | |
| download | libplist-9fdbf585f47501ba19a53fd4bb382d5b533e3fdd.tar.gz libplist-9fdbf585f47501ba19a53fd4bb382d5b533e3fdd.tar.bz2 | |
bplist: Guard uint64_mul_overflow fallback against division by zero
The portable fallback used when __builtin_umulll_overflow is not
available computed a > UINT64_MAX / b, which divides by zero if b is 0.
No current caller passes 0, but return no overflow in that case so the
helper is safe for any input.
Diffstat (limited to 'src/Date.cpp')
0 files changed, 0 insertions, 0 deletions
