Add NULL checks in the private debug APIs that testpdfio calls.

This commit is contained in:
Michael R Sweet
2024-08-21 09:22:58 -04:00
parent 6cb661f0f4
commit 7c3651671b
3 changed files with 9 additions and 0 deletions

View File

@ -215,6 +215,9 @@ void
_pdfioValueDebug(_pdfio_value_t *v, // I - Value
FILE *fp) // I - Output file
{
if (!v)
return;
switch (v->type)
{
case PDFIO_VALTYPE_ARRAY :