Skip to content

Prevent segfault if incorrect blob column is passed to openBlob() #37

@mreis1

Description

@mreis1

Example:

// a)
const blob = results[0][0] as Blob; // This is the correct way to pass in the blob reference
// b)
const blob = results[0] as Blob; // But, an incorrect value such as this one, will cause a segfault
const blobStream = await attachment.openBlob(transaction, blob);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions