OpenPrinting / libcupsfilters

Apache License 2.0
5 stars 22 forks source link

qpdf-cm.cxx: Fix possible integer overflow #43

Closed zdohnal closed 10 months ago

zdohnal commented 10 months ago

Use unsigned int (we use the variable as string index anyway) and check if we overflow everytime we increment the variable.

Fixes #42