-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
dump_escaped possible error ? #1589
Copy link
Copy link
Closed
Labels
kind: questionsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
Description
Activity
Metadata
Metadata
Assignees
Labels
kind: questionsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
I'm looking at dump_escaped implementation and i'm concerned about
uint32_t codepointvariable it is not initialized with any value whatsoever. So imo in release it should contain garbage which then will be processed in decode method.I'm right or just touchy ?
https://github.com/nlohmann/json/blob/develop/include/nlohmann/detail/output/serializer.hpp#L304