Files
json/tests/benchmarks/json_view/bench_edit.cpp
Niels Lohmann 4618710f1f Check the CSV file and the round count in the json_view benchmarks
fopen() of the CSV output was not checked, so an unwritable directory made
fprintf() write to a null FILE*; the round count is parsed with strtol and
clamped instead of atoi.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-10-11 11:31:58 +02:00

19 KiB