evanw / evanw/kiwi

in the node environment The execution of decodeMessage leads to a memory overflow

Open
#45 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
885
Forks
60
PR merge metrics
No merged PRs in 30d

Description

node versions:18+

Scene:

1. in node environment
2. When reading large files, call decodeMessage for reproduction

how should i solve it?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the memory overflow with decodeMessage in a Node.js 18+ environment while reading a large file. Trace the decodeMessage implementation and its handling of large inputs; done means the reproduction no longer exhausts memory.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, node.js
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.