Skip to content

_EncryptionStream.read() does not properly handle b < 0 #26

Closed
@mattsb42-aws

Description

@mattsb42-aws

Problem

read() for b < 0 should readall. Currently, it will attempt to process a read of a negative value of bytes; it will only readall if b is None.

Solution

Sanitize b < 0 to None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions