Automattic / Automattic/simplenote-macos

Crashes when entering a specific string

Open
#1,192 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Swift
Stars
1.6k
Forks
172
Avg merge
11h 17m
Merged PRs (30d)
3

Description

### Expected

App will not crash when entering / pasting any string

### Observed

When I paste in this specific string, the app crashes

```
De-oV2FK
```

(this string is part of a recovery key from an app)

### Reproduced

- Create a new note
- Paste in the following string: `De-oV2FK`
- The app would crash

or

- Create a new note
- Enter the following string: `De-oV2FK`
- Switch to another note and switch back
- The app would crash

Make|Model|macOS Version|App Version
-|-|-|-
MacBook|MacBook Air M2 2022|14.0|2.20

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. First reproduce the crash in a new note using `De-oV2FK`, both by pasting and by entering it before switching notes, then inspect the resulting crash details. Done means the app no longer crashes for either reproduction path and continues to accept the string.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.