mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-08-31 16:22:22 +02:00
Add NULL checks in the private debug APIs that testpdfio calls.
This commit is contained in:
@@ -363,6 +363,9 @@ _pdfioArrayDebug(pdfio_array_t *a, // I - Array
|
||||
_pdfio_value_t *v; // Current value
|
||||
|
||||
|
||||
if (!a)
|
||||
return;
|
||||
|
||||
putc('[', fp);
|
||||
for (i = a->num_values, v = a->values; i > 0; i --, v ++)
|
||||
_pdfioValueDebug(v, fp);
|
||||
|
Reference in New Issue
Block a user