Skip to content

Commit

Permalink
xinclude: Increase error count in xmlXIncludeErrMemory
Browse files Browse the repository at this point in the history
  • Loading branch information
nwellnhof committed Apr 22, 2024
1 parent 7cbf609 commit 087a346
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xinclude.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ xmlXIncludeErrMemory(xmlXIncludeCtxtPtr ctxt)
{
ctxt->errNo = XML_ERR_NO_MEMORY;
ctxt->fatalErr = 1;
ctxt->nbErrors++;

xmlRaiseMemoryError(ctxt->errorHandler, NULL, ctxt->errorCtxt,
XML_FROM_XINCLUDE, NULL);
Expand Down

0 comments on commit 087a346

Please sign in to comment.