diff options
| author | Dan Carpenter <[email protected]> | 2025-11-01 13:25:27 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2025-11-04 18:57:36 +0000 |
| commit | d83f1512758f4ef6fc5e83219fe7eeeb6b428ea4 (patch) | |
| tree | baa22a7afc93566ef51f9ac7284f0e29183e0e60 /tools/lib/traceevent/plugins/plugin_function.c | |
| parent | Input: pegasus-notetaker - fix potential out-of-bounds access (diff) | |
| download | kernel-d83f1512758f4ef6fc5e83219fe7eeeb6b428ea4.tar.gz kernel-d83f1512758f4ef6fc5e83219fe7eeeb6b428ea4.zip | |
Input: imx_sc_key - fix memory corruption on unload
This is supposed to be "priv" but we accidentally pass "&priv" which is
an address in the stack and so it will lead to memory corruption when
the imx_sc_key_action() function is called. Remove the &.
Fixes: 768062fd1284 ("Input: imx_sc_key - use devm_add_action_or_reset() to handle all cleanups")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Reviewed-by: Frank Li <[email protected]>
Link: https://patch.msgid.link/[email protected]
Cc: [email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/lib/traceevent/plugins/plugin_function.c')
0 files changed, 0 insertions, 0 deletions
