title: atollic - newlib - stack corruption
body: <p>i use the newlib (standart, not newlib nano) that comes within atollic 8.1.</p>
  
  <p>currently all kinds of XXXprintf versions corrupt my stack and i cant see why.</p>
  
  <p>i have added 3 images to display the problem:</p>
  
  <p><strong>use case 1</strong></p>
  
  <p>in image 3.png, you see either vsprintf (rt_vsnprintf ist just a macro forward delaring it) that writes max. 1024 to "sBuf.printf_buffer" which is 1024 bytes long and located at 0x20001c08 (to 0x20002008).</p>
  
  <p>by doing so, the newlib printf functions overwrite at least 1 variable of mine located at 0x20006014, so its not just a overflow by a bit, its quite off....</p>
  
  <p>i tested with sprintf, snprintf, vsnprintf, vsprintf. all those functions write in my variable.</p>
  
  <p>has someone an idea how such behavior could occur?</p>
  
  <p><a href="https://ibb.co/byPERU%20https://ibb.co/dAMuRU%20https://ibb.co/hKtxfp" rel="nofollow noreferrer">enter link description here</a></p>
  
  <p><a href="https://ibb.co/dAMuRU" rel="nofollow noreferrer">enter link description here</a></p>
  
  <p><a href="https://ibb.co/byPERU" rel="nofollow noreferrer">enter link description here</a></p>
  
  <p><a href="https://ibb.co/hKtxfp" rel="nofollow noreferrer">enter link description here</a></p>