Skip to content

Segmentation fault on empty string #9

@chifung7

Description

@chifung7

PDF417.new(text: '').to_blob would segfault. A simple fix may be just rasing error on empty string. I also look at other 2d barcode. It seems that QR Code is able to encode empty string. Not sure how PDF417 should handle this corner case.

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