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

[Pal/Linux-SGX] tools: Fix resource leak in Secret Prov lib #647

Closed
wants to merge 5 commits into from

Commits on Jun 10, 2022

  1. [Pal/Linux-SGX] tools: Fix resource leak in Secret Prov lib

    The resources allocated for mbedTLS functioning on the client side of
    Secret Prov lib (the one which attests itself to the remote party and
    runs inside the Gramine-SGX enclave) were not freed if the user of the
    Secret Prov lib used `secret_provision_start(..., &ctx)` API. This led
    to memory and resource leaks. In particular, the TLS connection to the
    remote party was shutdown but the underlying FD was not closed.
    
    Kudos to Liang Fang <[email protected]> who reported this leak.
    
    Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
    dimakuv committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    91b764b View commit details
    Browse the repository at this point in the history
  2. fixup! [Pal/Linux-SGX] tools: Fix resource leak in Secret Prov lib

    Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
    dimakuv committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    73a14b5 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2022

  1. fixup! [Pal/Linux-SGX] tools: Fix resource leak in Secret Prov lib

    Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
    dimakuv committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    fc7f1d2 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2022

  1. fixup! [Pal/Linux-SGX] tools: Fix resource leak in Secret Prov lib

    Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
    dimakuv committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    3649d7a View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2022

  1. fixup! [Pal/Linux-SGX] tools: Fix resource leak in Secret Prov lib

    Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
    dimakuv committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    48f963e View commit details
    Browse the repository at this point in the history