From: Junio C Hamano Date: Fri, 19 Jun 2015 15:27:42 GMT Subject: Re: [PATCH] strbuf: stop out-of-boundary warnings from Coverity Message-ID: In-Reply-To: <20150619103946.GA20493@lanh> Duy Nguyen 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 static const char x = '\0'; static char *y = (char *)&x; int main (void) { *y = 1; }