-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
1 parent
9fb71e0
commit a7f2ac1
Showing
1 changed file
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters