<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-1812985003737084262.post5112485841624923385..comments</id><updated>2009-10-24T16:55:12.385-04:00</updated><title type='text'>Comments on Bing Xia's Blog: Heap corruption in managed code</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.bytetalk.net/feeds/5112485841624923385/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1812985003737084262/5112485841624923385/comments/default'/><link rel='alternate' type='text/html' href='http://www.bytetalk.net/2009/10/heap-corruption-in-managed-code.html'/><author><name>bxia</name><uri>http://www.blogger.com/profile/13262666423559414651</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1812985003737084262.post-1626258737968767167</id><published>2009-10-24T16:55:12.385-04:00</published><updated>2009-10-24T16:55:12.385-04:00</updated><title type='text'>Actually from the following dump,
...
79333470 400...</title><content type='html'>Actually from the following dump,&lt;br /&gt;...&lt;br /&gt;79333470 40001df 20 System.Byte[] 0 instance 02f22760 m_buffer&lt;br /&gt;79333470 40001e0 24 System.Byte[] 0 instance 02f19e9c m_ReadBuf&lt;br /&gt;09206af8 40001e1 28 ....SSH2BufferStream 0 instance 02f2b024 m_ReadStream&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;m_buffer is closer to m_ReadStream than m_ReadBuf. So in the previous case, the code review should pay more attention on m_buffer instead of m_ReadBuf. However, it is just another case that a managed array overwrites its next object.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1812985003737084262/5112485841624923385/comments/default/1626258737968767167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1812985003737084262/5112485841624923385/comments/default/1626258737968767167'/><link rel='alternate' type='text/html' href='http://www.bytetalk.net/2009/10/heap-corruption-in-managed-code.html?showComment=1256417712385#c1626258737968767167' title=''/><author><name>bxia</name><uri>http://www.blogger.com/profile/13262666423559414651</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='09243653802358226527'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.bytetalk.net/2009/10/heap-corruption-in-managed-code.html' ref='tag:blogger.com,1999:blog-1812985003737084262.post-5112485841624923385' source='http://www.blogger.com/feeds/1812985003737084262/posts/default/5112485841624923385' type='text/html'/></entry></feed>