Skip to content

dump_escaped possible error ? #1589

Description

@noxytrux

I'm looking at dump_escaped implementation and i'm concerned about uint32_t codepoint variable 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions