push
github
Limit number of string format elements to compile. Reported by pwnhacker0x18. (cherry picked from commit 4fc48c50f) When compiling `string.format()` with a huge sequence of elements, it is possible that too many KGC IRs underflow the IR buffer. This patch limits the maximum number of `string.format()` elements to be compiled to 100. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#10199
5674 of 6026 branches covered (94.16%)
Branch coverage included in aggregate %.
2 of 2 new or added lines in 1 file covered. (100.0%)
25 existing lines in 5 files now uncovered.21636 of 23433 relevant lines covered (92.33%)
2939612.27 hits per line