summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorGab Virebent <gabriel1@virebent.art>2026-07-02 18:01:21 +0200
committerGab Virebent <gabriel1@virebent.art>2026-07-02 18:01:21 +0200
commit25fb52dc5c587acca2f4457d5c6f7b8032b7829c (patch)
tree7af788ccbb71c0ae5dbc278b4e5cfa8cbd6f48d2 /cmd
parent52eb46afad75d76c707ed11bbddddbcf5e121deb (diff)
downloadnymdrop-25fb52dc5c587acca2f4457d5c6f7b8032b7829c.tar.gz
nymdrop-25fb52dc5c587acca2f4457d5c6f7b8032b7829c.tar.xz
nymdrop-25fb52dc5c587acca2f4457d5c6f7b8032b7829c.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')
0 files changed, 0 insertions, 0 deletions