Skip to content

CGDataProvider and SIGSEGV #431

@richard-uk1

Description

@richard-uk1

It seems as though CGDataProvder::from_buffer segfaults if the buffer is empty. A reproducing test case would be something like

let buf: Arc<[u8]> = Arc::new([]);
CGDataProvider::from_buffer(buf)

I don't have a macOS box for testing, so this is based on experimentation with github CI. Apologies if I'm mistaken about this issue.

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