Subject: Re: [PATCH] strbuf: stop out-of-boundary warnings from Coverity

From: Junio C Hamano <[email-masked]>
Date: Fri, 19 Jun 2015 08:27:42 -0700

Duy Nguyen <[email-masked]> writes:

> Anyway it does not put strbuf_slopbuf in .rodata.

That's sad.  I wa hoping that it would behave the same as this,
which does give me SEGV:

#include <stdio.h>

static const char x = '\0';
static char *y = (char *)&x;

int main (void) {
	*y = 1;
}