Skip to content

ConscryptEngine.calcDstsLength ignoring dstsLength #1372

@henrik-lindqvist

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.

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