Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libbpf-tools: fix uprobe helper possible overflow
get_pid_lib_path didn't use path_sz in sscanf, so it may cause buffer overflow when path_sz is smaller than the real lib path. For exmample: "get_pid_lib_path(1, "c", minpath, 1)" may bring error.
- Loading branch information