lysp_stmt_validate_value
: NULL pointer dereference via lys_parse_mem
#1987
Labels
is:bug
Bug description.
status:completed
From the developer perspective, the issue was solved (bug fixed, question answered,...)
Hello, I find a null pointer derefence error in
lysp_stmt_validate_value()
when I try to fuzz libyang vialys_parse_mem.c
. In functionlysp_stmt_validate_value()
, it doesn't check whether the value ofval
is NULL. In some cases, it can be NULL, which leads to the operation ofwhile ( *val )
in line 390 that results in a crash:And a gdb debug details:
The text was updated successfully, but these errors were encountered: