News for hackers. Stuff that matters.
Re:I accidentally used YAML.parse instead of JSON.parse and ... by ionicgiraffe on Monday January 24, 2022 @07:18AM (#30056738)
Another reason to have a limit well below the computer's memory capacity is that one could find ill-formed documents in the wild, e.g., an unclosed quotation mark, causing the "rest' of a potentially large file to be read as a key, which can quickly snowball (imagine if you need to store the keys in a database, in a log, if your algorithms need to copy the keys, etc.)

There are no comments on this comment yet.