forked from github/server
fx an off-by-one memcpy error
This commit is contained in:
parent
edfa266a32
commit
d55d62278e
|
@ -125,7 +125,7 @@ static char *get_command(const order * ord, char *sbuffer, size_t size)
|
|||
++size;
|
||||
--bufp;
|
||||
}
|
||||
memcpy(bufp + 1, "[...]", 6); /* TODO: make sure this only happens in eval_command */
|
||||
memcpy(bufp, "[...]", 6); /* TODO: make sure this only happens in eval_command */
|
||||
bufp += 6;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue