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

pppd/options.c: fix memory leak or error path #441

Merged
merged 1 commit into from
Sep 1, 2023

Commits on Aug 17, 2023

  1. pppd/options.c: fix memory leak or error path

    found by Coverity
    
    602err:
    603    fclose(f);
    604    privileged_option = oldpriv;
       CID 436193 (ppp-project#1 of 1): Resource leak (RESOURCE_LEAK)10. overwrite_var: Overwriting option_source in option_source = oldsource leaks the storage that option_source points to.
    605    option_source = oldsource;
    
    Signed-off-by: Ilya Shipitsin <[email protected]>
    chipitsine committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    063ba27 View commit details
    Browse the repository at this point in the history