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

Fix double free in clib-package #309

Merged
merged 2 commits into from
May 7, 2024
Merged

Fix double free in clib-package #309

merged 2 commits into from
May 7, 2024

Commits on Mar 27, 2024

  1. Configuration menu
    Copy the full SHA
    b99047c View commit details
    Browse the repository at this point in the history
  2. chore(clib-package): Remove redundant nullability checks

    Since the check is done right after calling `parse_repo_{owner,version}()`,
    there is no need to do that down into the function.
    Besides that, if `author` was ever null, a call to `strdup(author)`
    would invoke undefined behaviour.
    r10nw7fd3 committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    956478d View commit details
    Browse the repository at this point in the history