-
Notifications
You must be signed in to change notification settings - Fork 403
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
Format string issues #960
Labels
bug
Something isn't working
Comments
roehling
added a commit
to roehling/iceoryx
that referenced
this issue
Nov 2, 2021
The prettyPrint() function no longer uses the unsanitized input string as format string for wprintw(), which is potentially dangerous if that string happens to contain '%' signs. The printMemPoolInfo() now correctly uses '%zd' instead of '%d' to format an output value of type size_t.
roehling
added a commit
to roehling/iceoryx
that referenced
this issue
Nov 2, 2021
The prettyPrint() function no longer uses the unsanitized input string as format string for wprintw(), which is potentially dangerous if that string happens to contain '%' signs. The printMemPoolInfo() now correctly uses '%zd' instead of '%d' to format an output value of type size_t.
roehling
added a commit
to roehling/iceoryx
that referenced
this issue
Nov 2, 2021
The prettyPrint() function no longer uses the unsanitized input string as format string for wprintw(), which is potentially dangerous if that string happens to contain '%' signs. The printMemPoolInfo() now correctly uses '%zd' instead of '%d' to format an output value of type size_t. Signed-off-by: Timo Röhling <timo@gaussglocke.de>
20 tasks
roehling
added a commit
to roehling/iceoryx
that referenced
this issue
Nov 2, 2021
Signed-off-by: Timo Röhling <timo@gaussglocke.de>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Required information
Operating system:
Debian (unstable)
Compiler version:
GCC 11.2
Observed result or behaviour:
The compiler flags inappropriate calls to
wprintw()
The text was updated successfully, but these errors were encountered: