title: Common Causes of - Buffer Overflow Errors under .NET
body: <p>I'm looking for common causes of Buffer Overflow errors under .NET.</p>
  
  <p><strong>I know that buffer overflow is <em>impossible</em> under managed .NET code.  However this exception is still possible in the scope of .NET application.</strong></p>
  
  <p>Things I thought of -</p>
  
  <ul>
  <li>Valid arguments to COM object calls</li>
  <li>Valid arguments to PInvoke/Win32 calls</li>
  </ul>
  
  <p>What is the best method of debugging buffer overrun errors?</p>