Skip to content

avoid leaving hanging object references in helper functions #44

Closed
@mattsb42-aws

Description

@mattsb42-aws

The encrypt and decrypt helper functions in the top-level aws_encryption_sdk module currently return the header object from the EncryptionStream objects. To avoid any possibility of those objects not being released for garbage collection because of active reference, we should copy the header object and return the copy.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions