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

[1.1] nsexec: Check for errors in write_log() #3721

Merged

Commits on Feb 10, 2023

  1. nsexec: Check for errors in write_log()

    First, check if strdup() fails and error out.
    
    While we are there, the else case was missing brackets, as we only need
    to check ret in the else case. Fix that too
    
    Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
    (cherry picked from commit 5ce511d)
    rata committed Feb 10, 2023
    Configuration menu
    Copy the full SHA
    f6e2cd3 View commit details
    Browse the repository at this point in the history