diff options
| author | Gab Virebent <gabriel1@virebent.art> | 2026-07-02 18:01:21 +0200 |
|---|---|---|
| committer | Gab Virebent <gabriel1@virebent.art> | 2026-07-02 18:01:21 +0200 |
| commit | edfcb7a68da978a45ec5d0a2d37648f2f93e15e2 (patch) | |
| tree | 5e9d2c4e9b4f739314016788dad43ced91bc8317 /cmd/nymdrop-reader/memguard_verify_test.go | |
| parent | f615473c408a76eb59bf98a3022c9998bea3bc7e (diff) | |
| download | nymdrop-edfcb7a68da978a45ec5d0a2d37648f2f93e15e2.tar.gz nymdrop-edfcb7a68da978a45ec5d0a2d37648f2f93e15e2.tar.xz nymdrop-edfcb7a68da978a45ec5d0a2d37648f2f93e15e2.zip | |
Fix base64 encoding crash on file attachments over ~1MB
String.fromCharCode(...bytes) spreads every byte as a separate call
argument, exceeding the engine's max-arguments limit on multi-MB files
(RangeError: Maximum call stack size exceeded). Chunk the conversion
instead. Reported by a real submitter trying a 1.5MB file.
Diffstat (limited to 'cmd/nymdrop-reader/memguard_verify_test.go')
0 files changed, 0 insertions, 0 deletions
