diff options
| author | Uros Bizjak <[email protected]> | 2023-12-01 08:57:27 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2023-12-02 09:51:28 +0000 |
| commit | fc50065325f8b88d6986f089ae103b5db858ab96 (patch) | |
| tree | 9f8c80b4cd7b0ae4a3ff255b55e96f08f39c950b /scripts/generate_rust_target.rs | |
| parent | x86/smp: Use atomic_try_cmpxchg in native_stop_other_cpus() (diff) | |
| download | kernel-fc50065325f8b88d6986f089ae103b5db858ab96.tar.gz kernel-fc50065325f8b88d6986f089ae103b5db858ab96.zip | |
x86/callthunks: Correct calculation of dest address in is_callthunk()
GCC didn't warn on the invalid use of relocation destination
pointer, so the calculated destination value was applied to
the uninitialized pointer location in error.
Fixes: 17bce3b2ae2d ("x86/callthunks: Handle %rip-relative relocations in call thunk template")
Reported-by: Nathan Chancellor <[email protected]>
Signed-off-by: Uros Bizjak <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Closes: https://lore.kernel.org/lkml/[email protected]/
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
