Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f773c83 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android Git Automerger
Browse files

am 67f46cb0: Fix issue #18000467: processgroup truncates buffer

* commit '67f46cb0':
  Fix issue #18000467: processgroup truncates buffer
parents c37387a4 67f46cb0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));