Skip to content

0.4.3 - #7

Merged
munzzyy merged 2 commits into
mainfrom
fix-attachment-size-limit
Sep 12, 2026
Merged

munzzyy merged 2 commits into
mainfrom
fix-attachment-size-limit

Conversation

@munzzyy

@munzzyy munzzyy commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Picking a very large file to attach crashed the app: it read the whole file into memory (arrayBuffer) before anything could stop it, so a ~500MB video exhausted RAM and the OS killed the app. Attachments are now capped at 50 MB, checked by File.size before any read, and anything larger is refused up front with a message (EN + ES). A setPendingAttach backstop enforces the same cap on the share and camera paths. The e2e attaches a 51MB file and asserts it is refused with no entry and no crash. Found by a tester on !48333. Bumps to 0.4.3.

@munzzyy
munzzyy merged commit 8711c87 into main Sep 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant