commit | a4e139b9f8701ca0546e56516cef417bcd215e7f | [log] [tgz] |
---|---|---|
author | Daniel Hajjar <daniel.hajjar16@gmail.com> | Thu Mar 20 17:49:50 2025 +0100 |
committer | Benjamin Cabé <kartben@gmail.com> | Mon Mar 24 19:23:55 2025 +0100 |
tree | e8a79e1a9d9a577d5efe83ac633f24b24b5ac80b | |
parent | a65a16424b21ce326b4327abebb38bc838e8c7bc [diff] |
drivers: intc_ioapic: Fix Out of Bounds shift Hexadecimal integer literals are signed if they can fit into a signed int, which causes undefined behavior. This happens here because 0xFF can fit into a signed int and then gets left-shifted by 24, undefined behavior for signed integers. Signed-off-by: Daniel Hajjar <daniel.hajjar16@gmail.com>