Skip to content

Buffer over-read in BF IBE ciphertext initialization #91

Description

@kkowski

bonehFranklinIdentityBasedEncryptionCiphertext_init copies cipherVLength + 1 bytes from cipherV and cipherWLength + 1 bytes from cipherW in order to copy the null terminator as well, even though they are not necessarily null-terminated and are only guaranteed to be cipherVLength and cipherWLength long respectively.

See #90 for the fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions