Skip to content

Zero-initialize unused portions of StagingBuffer #7953

@andyleiserson

Description

@andyleiserson

#7893 fixed a case where copies into the staging buffer could read from uninitialized memory. In discussion on that PR, it came up that we probably should clear any padding area in the staging buffer that will not be populated from the source of the transfer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions