PC Review


Reply
Thread Tools Rate Thread

Buffer overruns

 
 
kelvin.koogan@googlemail.com
Guest
Posts: n/a
 
      18th Feb 2009
Anyone any good ways of debugging buffer overruns? The buffer overrun
seems to be detected during garbage collection, judging by the call
stack, so I have no idea where the actual overrun took place. Is there
anyway I can get a handle on the buffer which is experiencing the
problem?

Googling the problem suggests using windbg, but I'm not having any joy
with that.

TIA,
KK
 
Reply With Quote
 
 
 
 
Ben Voigt [C++ MVP]
Guest
Posts: n/a
 
      18th Feb 2009
You need something like electric fence.
http://directory.fsf.org/project/ElectricFence/

I have no idea where you might find a .NET equivalent.

You could always compile with /clr:safe, that will point out where you are
using pointer arithmetic (and thus possibly overrunning).

<(E-Mail Removed)> wrote in message
news:1769dd2b-33c3-40cf-8759-(E-Mail Removed)...
> Anyone any good ways of debugging buffer overruns? The buffer overrun
> seems to be detected during garbage collection, judging by the call
> stack, so I have no idea where the actual overrun took place. Is there
> anyway I can get a handle on the buffer which is experiencing the
> problem?
>
> Googling the problem suggests using windbg, but I'm not having any joy
> with that.
>
> TIA,
> KK



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Buffer overruns kelvin.koogan@googlemail.com Microsoft VC .NET 1 18th Feb 2009 08:47 PM
buffer overruns Vista Quicktime Bill Eichner Windows Vista General Discussion 4 23rd Oct 2007 12:18 AM
frees ups & buffer overruns =?Utf-8?B?UmF5?= Windows XP Internet Explorer 1 10th Feb 2007 12:25 AM
Difficult problem of Date "overruns" Al Camp Microsoft Access 1 24th Mar 2006 07:48 PM
Buffer overruns and exploits CheshireCat Windows XP Help 2 17th Nov 2003 08:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:42 PM.