Skip to content
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

src: fix multiple format string bugs #44314

Merged

Commits on Aug 21, 2022

  1. src: fix multiple format string bugs

    The THROW_ERR_* functions interpret the first argument as a printf-like
    format string, which is problematic when it contains unsanitized user
    input. This typically happens when a printf-like function is used to
    produce the error message, which is then passed to a THROW_ERR_*
    function, which again interprets the error message as a format string.
    
    Fix such occurrences by properly formatting error messages using static
    format strings only, and in a single step.
    tniessen committed Aug 21, 2022
    Configuration menu
    Copy the full SHA
    d17e9d7 View commit details
    Browse the repository at this point in the history