]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: avoid UB on signed multiplication in resolve_symbol_value()
authorJan Beulich <jbeulich@suse.com>
Fri, 13 Dec 2024 08:42:55 +0000 (09:42 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 13 Dec 2024 08:42:55 +0000 (09:42 +0100)
commitbbe22ca078c02ca248722832fd77e2a6cd2813c5
tree2cc86c652c6f34cd3d0536a6a6e4a4ea01b8f0f2
parenta21e2f0c20565216fbc560225ba15d8c5c1e1aa8
gas: avoid UB on signed multiplication in resolve_symbol_value()

Commit 487b0ff02dda ("ubsan: signed integer multiply overflow") touched
only one of the two affected places (the 3rd, resolve_expression(), is
already using valueT type local variables).
gas/symbols.c