Re: [xml] ping //Re: [PATCH] xmlschemastypes.c: xmlSchemaGetFacetValueAsULong add check "facet->val"



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]