msgbuf_parse: rb_string_to_array outputs to a MAXPARA+1 size array
This commit is contained in:
parent
01dd3da541
commit
3656fa83a9
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ int
|
|||
msgbuf_parse(struct MsgBuf *msgbuf, char *line)
|
||||
{
|
||||
char *ch;
|
||||
char *parv[MAXPARA];
|
||||
char *parv[MAXPARA + 1];
|
||||
size_t n_para;
|
||||
|
||||
/* skip any leading spaces */
|
||||
|
|
Loading…
Reference in a new issue