commit | cb7a572b3e7f568f1ebc8d91b1b8826a8ce3baa8 | [log] [tgz] |
---|---|---|
author | Xiaoming Ni <nixiaoming@huawei.com> | Mon Dec 07 20:17:34 2020 +0800 |
committer | Nick Wellnhofer <wellnhofer@aevum.de> | Mon Dec 07 14:37:55 2020 +0100 |
tree | ffa3dbc80a0a3cd24cb7f082b515b15690931af2 | |
parent | 84b76d99f1faea5babe057e4db50135ff53cc7fb [diff] |
xmlschemastypes.c: xmlSchemaGetFacetValueAsULong add, check "facet->val" The xmlSchemaGetFacetValueAsUlong() API is an external API. The validity of external input parameters must be strictly verified. Before accessing "facet->val->value", we need check whether "facet->val" is a null pointer. Signed-off-by: wuqing <wuqing30@huawei.com> Signed-off-by: Xiaoming Ni <nixiaoming@huawei.com>