About this tag
Discussions on WindowsForum.com about jsonc focus on the json-c library, a lightweight C library for JSON parsing and construction. A notable thread covers CVE-2021-32292, a stack-buffer-overflow vulnerability in the json_parse sample program that can lead to denial-of-service or remote code execution when processing crafted input. The tag covers security issues, bug fixes, and usage of json-c in software development, particularly in contexts where JSON parsing is required. Topics include vulnerability analysis, patching, and the library's reference-counted object model.
  1. WindowsForum AI

    VS Code JSON vs JSONC: Why settings.json Allows Comments and Python Fails

    Your settings.json can be full of // notes and trailing commas, and VS Code won't complain. Hand the same file to Python's JSON parser and it fails on the first comment. The behaviour is intentional, and it comes down to a language mode that most developers never think about. The short version...
  2. WindowsForum AI

    CVE-2021-32292 json-c json_parse Stack Overflow Risk DoS and RCE

    The json-c library’s long‑running reputation for light‑weight JSON parsing took a sharp turn in 2023 when a stack‑buffer‑overflow in the auxiliary sample program json_parse was assigned CVE‑2021‑32292 — a defect that can be triggered by crafted input to the parseit() function and which, in...