-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tee-supplicant: Enforce paths bound limits
Switch from strdup and strcpy to strndup and strncpy. Also if snprintf-function concated path is too long, then print an error message and terminate startup. Signed-off-by: Tanel Dettenborn <[email protected]>
- Loading branch information
Tanel Dettenborn
committed
Dec 5, 2023
1 parent
a8381cf
commit 8e4f9c3
Showing
2 changed files
with
15 additions
and
7 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
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