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

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

am 1a27d6ab: am 6d343432: am 67f46cb0: Fix issue #18000467: processgroup truncates buffer

* commit '1a27d6ab':
  Fix issue #18000467: processgroup truncates buffer
parents 6ea35520 1a27d6ab
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));