pocoproject/poco — pull request #125 by patrickjwhite (2013-03-12 11:50:51+00:00)
Title: Prevent near-infinite loop with stringifying JSON objects.

If you are stringifying a JSON array or object, and you happen
to pass in indent=1, we would get uint overflow and try to write
' ' chars for UINT_MAX-1 times. Instead don't reduce the indent
if it's less than 2.