Fixed xpath crashes discovered by fuzzing
Added fuzz code for xpath Test: added negative xpath tests
This commit is contained in:
parent
05cdbf5c4f
commit
779fcf5458
16 changed files with 197 additions and 29 deletions
|
|
@ -457,7 +457,7 @@ static const struct ycard _yclist[] = {
|
|||
};
|
||||
|
||||
/* Search matrix for lookups */
|
||||
static const struct ycard *_yc_search[Y_SPEC][Y_SPEC] = {0,};
|
||||
static const struct ycard *_yc_search[Y_SPEC][Y_SPEC] = {{0,},{0,}};
|
||||
|
||||
/* Set to 1 if exists in search
|
||||
* Some yang statements are not explicitly given cardinalities in RFC7950, although they are
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue