Fix for index outside the bounds.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-07-01 21:08:07 +02:00
förälder 4d150c2fe3
incheckning a09c6b3fad
Signerad av: belliash
GPG-nyckel ID: 4E829243E0CFE6B4
1 ändrade filer med 1 tillägg och 1 borttagningar

Visa fil

@ -50,7 +50,7 @@ class Test {
print($headers[$pos], "\n");
cIterator: {
print(" ", $headers[$pos][$c], "\n");
if(!($headers[$pos][++$c])) {
if(strlen($headers[$pos]) <= ++$c) {
goto cIteratorExit;
}
goto cIterator;