bugfix: too high array index
This commit is contained in:
@ -742,7 +742,7 @@ Protocol(const Protocol& p, StreamBuffer& name, int _line)
|
|||||||
int i;
|
int i;
|
||||||
const char* nextparameter;
|
const char* nextparameter;
|
||||||
parameter[0] = protocolname();
|
parameter[0] = protocolname();
|
||||||
for (i = 0; i < 10; i++)
|
for (i = 0; i < 9; i++)
|
||||||
{
|
{
|
||||||
debug("StreamProtocolParser::Protocol::Protocol $%d=\"%s\"\n",
|
debug("StreamProtocolParser::Protocol::Protocol $%d=\"%s\"\n",
|
||||||
i, parameter[i]);
|
i, parameter[i]);
|
||||||
|
Reference in New Issue
Block a user