1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-25 10:50:08 +03:00

Merge branch 'doc-add1' into 'master'

Add some security rules to the documentations

See merge request GNOME/libxml2!275
This commit is contained in:
Amber Liu 2025-03-19 11:30:14 +00:00
commit 71c448c705
2 changed files with 3 additions and 3 deletions

View File

@ -2976,10 +2976,10 @@ xmlInitParserCtxt(xmlParserCtxtPtr ctxt)
/**
* xmlFreeParserCtxt:
* @ctxt: an XML parser context
* @ctxt: an XML parser context. The context should be obtained from an API such as xmlNewSAXParserCtxt and should not have been previously freed.
*
* Free all the memory used by a parser context. However the parsed
* document in ctxt->myDoc is not freed.
* document in ctxt->myDoc is not freed. The caller should not attempt to access or dereference the ctxt parameter after invoking xmlFreeParserCtxt.
*/
void

2
uri.c
View File

@ -1039,7 +1039,7 @@ xmlParseURI(const char *str) {
/**
* xmlParseURIReference:
* @uri: pointer to an URI structure
* @uri: pointer to an URI structure. The caller should initialize this pointer using APIs such as xmlCreateURI. This parameter must not be NULL.
* @str: the string to analyze
*
* Parse an URI reference string based on RFC 3986 and fills in the