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 syscall error handling in vhd and pkg/security #210

Merged
merged 1 commit into from Apr 26, 2021

Commits on Apr 26, 2021

  1. Fix syscall error handling in vhd and pkg/security

    These packages had incorrect error handling for their generated syscall
    bindings. The functions they were calling returned errors directly, but
    the binding was written such that the generated code was calling
    GetLastError instead.
    
    Thankfully, this did not affect the detection of whether or not an error
    had occurred, it only caused the value returned in the case of an error
    to be not the right error code.
    
    Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
    kevpar committed Apr 26, 2021
    Copy the full SHA
    9f0ab2c View commit details
    Browse the repository at this point in the history