Henrik Hørlück Berg a7c8e0cdfb Fix #9899 integer overflow in string repeat
We could end up overflowing if we print out something that's a multiple of the
chunk size, which would then finish printing in the chunk-printing, but not
break out early.

(cherry picked from commit 6325b3662de122b571e33b7121cfc9d172d483bc)
2023-10-06 18:35:06 +02:00
..
2021-08-30 17:16:19 +02:00