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 buffer overflow in test_cjose_jwe_multiple_recipients(). #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 23, 2019

  1. Fix buffer overflow in test_cjose_jwe_multiple_recipients()

    The function allocates two cjose_jwe_recipient_t on the stack and then writes at index 2, which is out of bounds. The NULL pointer also seems unnecessary because cjose_jwe_encrypt_multi() takes a count as its argument.
    mpsun committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    ab53446 View commit details
    Browse the repository at this point in the history