how-to block ads
BlackbirdBuilt for SpeedPremiumReviews:
Fort Wayne, IN
|reply to dave |
Re: Buffer Overflow blocked by AV, what should I do?
said by dave:Can we assume you actually mean that there's no way for a user or protective software to "prevent 'buffer overflow' "? Buffer overflow is a consequence of a programmer's failure to bounds-check the data written to a buffer in the code he writes, and indeed can be prevented at the coding level (though with C/C++ it's not automatically done for the programmer, so he has to be sharp enough and persistent enough to build it in himself). Put another way, buffer overflows can be prevented at software coding time, but can't be prevented after that... which is what I think you meant.
To be precise: there is no way to prevent 'buffer overflow'. ...
The American Republic will endure until the day Congress discovers that it can bribe the public with the public's money. A. de Tocqueville
not in ohio
said by Blackbird:Yes. Programmers can prevent buffer overflows by using interfaces properly, assuming an interface actually exists that is capable of not overflowing a provided buffer. Or the programmer can use a language where memory-unsafe constructs do not exist.
Can we assume you actually mean that there's no way for a user or protective software to "prevent 'buffer overflow' "?
The user can only prevent buffer overflows by refusing to use software written by the incompetent
Likewise, the programmer should refuse to use interfaces written by the incompetent.