MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlSaturatedAddSizeT

Function xmlSaturatedAddSizeT

ThirdParty/libxml2/vtklibxml2/parser.c:423–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421}
422
423static void
424xmlSaturatedAddSizeT(unsigned long *dst, unsigned long val) {
425 if (val > ULONG_MAX - *dst)
426 *dst = ULONG_MAX;
427 else
428 *dst += val;
429}
430
431/**
432 * xmlParserEntityCheck:

Callers 3

xmlParserEntityCheckFunction · 0.85
xmlPopPEFunction · 0.85
xmlCtxtParseEntityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected