* commit '1a27d6ab328676bf648da74fe78836e7c1ffc8e2': Fix issue #18000467: processgroup truncates buffer
This commit is contained in:
commit
e4f3805b29
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ static int refillBuffer(struct ctx *ctx)
|
|||
}
|
||||
|
||||
ctx->buf_len += ret;
|
||||
ctx->buf[ctx->buf_len-1] = 0;
|
||||
ctx->buf[ctx->buf_len] = 0;
|
||||
SLOGV("Read %d to buffer: %s", ret, ctx->buf);
|
||||
|
||||
assert(ctx->buf_len <= sizeof(ctx->buf));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue