aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorYafang Shao <[email protected]>2023-07-09 02:56:25 +0000
committerAlexei Starovoitov <[email protected]>2023-07-11 20:07:51 -0700
commit5125e757e62f6c1d5478db4c2b61a744060ddf3f (patch)
treeb3d34621fe8b04695ee404a2370e90a4500da868 /drivers/fpga/fpga-mgr.c
parentf1a414537ecc18b5882a57045ce3e4a11e528290 (diff)
bpf: Clear the probe_addr for uprobe
To avoid returning uninitialized or random values when querying the file descriptor (fd) and accessing probe_addr, it is necessary to clear the variable prior to its use. Fixes: 41bdc4b40ed6 ("bpf: introduce bpf subcommand BPF_TASK_FD_QUERY") Signed-off-by: Yafang Shao <[email protected]> Acked-by: Yonghong Song <[email protected]> Acked-by: Jiri Olsa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions