Skip to content

Runtime safety crash if searching on yes #9721

@mitchellh

Description

@mitchellh

There is a runtime safety panic that can occur if you search for "y" when running yes. I also tried "ye" on yes yes to see if this was a single-char needle issue and it happens in both cases, so it doesn't matter.

Here is the stack I got:

Image

I got exact lines too but lost them in this screenshot, it's easy to reproduce. I unfortunately am not sure why it happens yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    crashCauses a crash, very high priority to fixtipIssues that appear on tip versions of Ghostty. Need to be revisited often

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions