ping
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 po
ping
On 2020/11/24 14:55, Xiaoming Ni wrote:
The return type of xmlRegisterCharEncodingHandler() is void. The invoker
cannot determine whether xmlRegisterCharEncodingHandler() is executed
successfully. when nbCharEncodingHandler >= MAX_ENCODING_HANDLERS, the
"handler" is not added
On 2020/12/7 0:42, Nick Wellnhofer wrote:
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
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
Signed-off-by: Xiaomi
the memory
of "handler" cannot be managed and released: memory leakage.
so add "xmlfree(handler)" to fix memory leakage on the failure branch of
xmlRegisterCharEncodingHandler().
Reported-by: wuqing
Signed-off-by: Xiaoming Ni
---
encoding.c | 13 +++--
1 file chan