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

Fixed unbounded write and check return values of sscanf #1306

Merged
merged 2 commits into from
Apr 29, 2023

Commits on Apr 22, 2023

  1. Fix unbounded write of sscanf

    Format string "%s" that does not control the length of data
    written may overflow.
    szsam committed Apr 22, 2023
    Configuration menu
    Copy the full SHA
    0a5cad7 View commit details
    Browse the repository at this point in the history
  2. Check return values of sscanf()

    Failing to check that a call to 'scanf' actually writes to an output
    variable can lead to unexpected behavior at reading time.
    szsam committed Apr 22, 2023
    Configuration menu
    Copy the full SHA
    8f97e62 View commit details
    Browse the repository at this point in the history