Skip to content

ConscryptEngine.calcDstsLength ignoring dstsLength #1372

Description

@henrik-lindqvist

Using unwrap with an array of destination buffers, offset and length is broken due to the calcDstsLength method ignoring its length argument and instead using the array length, thus incorrectly failing non-null check on array element it should ignore.

Workaround until fixed is to fill the array elements beyond the length argument with empty buffers.

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