robustness fixes

This commit is contained in:
leitner
2015-05-07 23:51:01 +00:00
parent 6ddce21c52
commit ad390ee7ea
4 changed files with 9 additions and 11 deletions

View File

@@ -37,6 +37,7 @@ size_t scan_ldapsearchresultentry(const char* src,const char* max,struct SearchR
return res;
error:
freepal(sre->attributes);
sre->attributes=0;
return 0;
}