Skip to content

Crash when entering a rebus into a square with an empty solution string #185

@jpd236

Description

@jpd236

https://github.com/mrichards42/xword/blob/master/puz/Square.cpp#L491

This line doesn't check if len > 0, so if you enter a rebus into a square with an empty solution, it will crash. Note that this bounds check is present a few lines above in HasTextRebus.

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