json:parse_bjdata_fuzzer reaches assertion #3461
Labels
aspect: binary formats
BSON, CBOR, MessagePack, UBJSON
kind: bug
release item: 🐛 bug fix
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
Milestone
Description
The input
0x5b, 0x24, 0x5b
triggers an assertion in the fuzzer for BJData.Reproduction steps
0x5b, 0x24, 0x5b
.Expected vs. actual results
No assertion should be triggered. Either the fuzzer must be made more robust against or there is a bug in the library that must be fixed.
Minimal code example
Adapted fuzzer:
Error messages
Assertion
is triggered. In the original context, the following stack trace is produced:
Compiler and operating system
macOS 12.3.1, Apple clang version 13.1.6
Library version
develop
Validation
develop
branch is used.The text was updated successfully, but these errors were encountered: