diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2022-07-13 20:07:45 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2022-07-13 20:07:45 +0000 |
commit | 5213fa4cb166c22a9bd0c96ee33a573eed93ed72 (patch) | |
tree | 0e1b2476b3f262faa9ae601afeb34f6f7e9aee7d /usr.sbin/vmd/fw_cfg.h | |
parent | 9a3c08d2e70465a3512241cada09817ede58b796 (diff) |
Cast int64_t to uint64_t before negating.
Avoid undefined behaviour/integer overflow by casting an int64_t to
uint64_t before negating.
Fixes oss-fuzz #49043
ok tb@
Diffstat (limited to 'usr.sbin/vmd/fw_cfg.h')
0 files changed, 0 insertions, 0 deletions