title: Unpredictable behavior for strcpy(m+1,m)
body: <p>I was working with an example regarding seg fault:</p>
  
  <pre><code>char m[10]="dog";
  strcpy(m+1,m);
  </code></pre>
  
  <p>In my centOs machine the result was as expected: segmentation fault. but on Ubuntu nothing happen. then I add a printf("%s",m); to the code on ubuntu and surprisingly I got the "ddog" as result. 
  I am using GCC and the ubuntu version was the latest.
  can anyone tell me why the results are different. I also check it on raspbian and I also received segmentation fault.</p>
  
  <p>Thanks,</p>