Re: [xml] ping //Re: [PATCH] xmlschemastypes.c: xmlSchemaGetFacetValueAsULong add check "facet->val"
- From: Nick Wellnhofer <wellnhofer aevum de>
- To: Xiaoming Ni <nixiaoming huawei com>, xml gnome org
- Cc: wangle6 huawei com, wuqing30 huawei com
- Subject: Re: [xml] ping //Re: [PATCH] xmlschemastypes.c: xmlSchemaGetFacetValueAsULong add check "facet->val"
- Date: Sun, 6 Dec 2020 17:42:38 +0100
On 01/12/2020 08:05, Xiaoming Ni wrote:
ping
Your previous email didn't make it to the mailing list.
On 2020/11/24 14:55, Xiaoming Ni wrote:
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>
---
xmlschemastypes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Please resend the full patch formatted with "git format-patch" or create a
merge request on https://gitlab.gnome.org/GNOME/libxml2
Nick
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]