Closed Macintron closed 10 months ago
added iterator check.
while at it also saw some other places in this class that could use a bit of verification prior to manipulating the stack.
think this should work: https://github.com/galkahana/PDF-Writer/pull/236
Thank you
Found with clang-tidy bugprone-infinite-loop:
https://github.com/galkahana/PDF-Writer/blob/a514170d729f06b4fb6395b0e31b7712a77c6b02/PDFWriter/CharStringType2Interpreter.cpp#L1088C11-L1088C11