-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tee-supplicant: Enforce paths bound limits #366
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tee-supplicant: Enforce paths bound limits
Switch from strdup and strcpy to strndup and strncpy. Also if snprintf-function concated path
Please add parentheses when mentioning functions: strdup()
, strcpy()
etc.
is too long, then print an error message and terminate startup.
Please wrap lines at 75 characters.
8e4f9c3
to
50df216
Compare
6da2ea9
to
e220d04
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-by: Jens Wiklander <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Acked-by: Etienne Carriere <[email protected]>
e220d04
to
3b14cf5
Compare
@jenswi-linaro is that OK with you? |
Verify "ta-path" command line argument length and if snprintf() concated path is too long, then print an error message and terminate startup. Signed-off-by: Tanel Dettenborn <[email protected]>
3b14cf5
to
d21e324
Compare
|
Sure |
This pull request has been marked as a stale pull request because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this pull request will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time. |
Tags added, merged. |
Verify
ta-path
command line argument length and ifsnprintf()
concated path is too long, then print an error message and terminate startup.