Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ext/json/ext/parser/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -2261,6 +2261,11 @@ static inline JSON_ResumableParser *cResumableParser_get(VALUE self)
* parser << ' '
* parser.parse # => true
* parser.value # => 123
*
* === Security
*
* An incomplete document is buffered in full and there is no size limit, so when reading
* from an untrusted source the caller is responsible for bounding how much data is fed.
*/
static VALUE cResumableParser_initialize(int argc, VALUE *argv, VALUE self)
{
Expand Down
Loading