* HTTP/1 native parser as part of the RESTCONF client
* Fixed memory error in opendir/readdir in clicon_file_dirent * Remove MAXPATH in parsers * New string-del function
This commit is contained in:
parent
0ed34b4fab
commit
dadf4a778a
53 changed files with 1061 additions and 1273 deletions
|
|
@ -640,8 +640,8 @@ clixon_xml_parse_file(FILE *fp,
|
|||
int oldxmlbuflen;
|
||||
int failed = 0;
|
||||
|
||||
if (xt==NULL){
|
||||
clicon_err(OE_XML, EINVAL, "xt is NULL");
|
||||
if (xt==NULL || fp == NULL){
|
||||
clicon_err(OE_XML, EINVAL, "arg is NULL");
|
||||
return -1;
|
||||
}
|
||||
if (yb == YB_MODULE && yspec == NULL){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue