Click here to Skip to main content
15,891,184 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDeterming the area of a set of rectangles Pin
DanFreddy3-Mar-04 14:11
DanFreddy3-Mar-04 14:11 
GeneralRe: Determing the area of a set of rectangles Pin
Christian Graus3-Mar-04 16:45
protectorChristian Graus3-Mar-04 16:45 
GeneralRe: Determing the area of a set of rectangles Pin
Gary R. Wheeler3-Mar-04 16:52
Gary R. Wheeler3-Mar-04 16:52 
GeneralRe: Determing the area of a set of rectangles Pin
Christian Graus3-Mar-04 17:34
protectorChristian Graus3-Mar-04 17:34 
GeneralRe: Determing the area of a set of rectangles Pin
Filousov5-Mar-04 13:36
Filousov5-Mar-04 13:36 
GeneralBuffer Overflow's Pin
Frank Deo3-Mar-04 13:13
Frank Deo3-Mar-04 13:13 
GeneralRe: Buffer Overflow's Pin
Prakash Nadar3-Mar-04 13:35
Prakash Nadar3-Mar-04 13:35 
GeneralRe: Buffer Overflow's Pin
Steve S4-Mar-04 6:13
Steve S4-Mar-04 6:13 
In terms of prevention, look for strsafe.h on the MSDN web-site.

99.9% of the time, the buffer overflow attack is possible because someone was lax about checking what was being copied into a buffer, either because their routine doesn't know how big a buffer it's been given, or they just didn't bother.

It has to be said that the new features of the VS.NET C++ compiler help, but the problem is that the developer is likely to take the view that their code is safe because it didn't flag up as an overrun when it was tested. The real question is: can it be made to overrun?

Steve S
GeneralRe: Buffer Overflow's Pin
Mike Dimmick4-Mar-04 6:29
Mike Dimmick4-Mar-04 6:29 
GeneralRe: Buffer Overflow's Pin
Frank Deo4-Mar-04 11:37
Frank Deo4-Mar-04 11:37 
GeneralAVI FIles Pin
Anonymous3-Mar-04 12:20
Anonymous3-Mar-04 12:20 
GeneralProcessing messages Pin
ffazly3-Mar-04 11:48
ffazly3-Mar-04 11:48 
GeneralRe: Processing messages Pin
rrrado4-Mar-04 6:28
rrrado4-Mar-04 6:28 
GeneralDeprecated files in \MS Visual Studio\VC98 Pin
john john mackey3-Mar-04 11:13
john john mackey3-Mar-04 11:13 
GeneralMFC dialog member sharing? (code included) Pin
Christophocles3-Mar-04 11:12
sussChristophocles3-Mar-04 11:12 
GeneralRe: MFC dialog member sharing? (code included) Pin
BlackDice4-Mar-04 5:10
BlackDice4-Mar-04 5:10 
GeneralRe: MFC dialog member sharing? (code included) Pin
Christophocles4-Mar-04 5:44
sussChristophocles4-Mar-04 5:44 
GeneralRe: MFC dialog member sharing? (code included) Pin
monrobot134-Mar-04 5:39
monrobot134-Mar-04 5:39 
GeneralRe: MFC dialog member sharing? (code included) Pin
Christophocles4-Mar-04 5:49
sussChristophocles4-Mar-04 5:49 
GeneralRe: MFC dialog member sharing? (code included) Pin
BlackDice4-Mar-04 6:07
BlackDice4-Mar-04 6:07 
GeneralRe: MFC dialog member sharing? (code included) Pin
Christophocles4-Mar-04 7:06
sussChristophocles4-Mar-04 7:06 
GeneralRe: MFC dialog member sharing? (code included) Pin
BlackDice4-Mar-04 8:23
BlackDice4-Mar-04 8:23 
GeneralRe: MFC dialog member sharing? (code included) Pin
Christophocles4-Mar-04 9:14
sussChristophocles4-Mar-04 9:14 
GeneralRe: MFC dialog member sharing? (code included) Pin
BlackDice4-Mar-04 9:30
BlackDice4-Mar-04 9:30 
GeneralRe: MFC dialog member sharing? (code included) Pin
Christophocles4-Mar-04 10:27
sussChristophocles4-Mar-04 10:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.