Click here to Skip to main content
15,851,514 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Albert Holguin7-Nov-11 8:18
professionalAlbert Holguin7-Nov-11 8:18 
AnswerRe: making a unsigned char array gives a buffer overrun error Pin
Erudite_Eric7-Nov-11 7:56
Erudite_Eric7-Nov-11 7:56 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Albert Holguin7-Nov-11 8:17
professionalAlbert Holguin7-Nov-11 8:17 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Chuck O'Toole7-Nov-11 8:22
Chuck O'Toole7-Nov-11 8:22 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Albert Holguin7-Nov-11 8:23
professionalAlbert Holguin7-Nov-11 8:23 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Erudite_Eric7-Nov-11 8:41
Erudite_Eric7-Nov-11 8:41 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Albert Holguin7-Nov-11 8:45
professionalAlbert Holguin7-Nov-11 8:45 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Erudite_Eric7-Nov-11 9:05
Erudite_Eric7-Nov-11 9:05 
Albert Holguin wrote:
I strongly disagree.


I 100% call your dosagreement wrong. Smile | :)

I have worked in the kernel for 14 years. If the code isnt 100%, it is crap. I never use stacj based buffer becuase they can be overrun leading to an imnpossible to debug stack trace. If you believe onie thing I say, it is this, All arrays go oin the heap where verifier can catch overruns for you.

Seriously, and my kernel code has been on 30% of global products, I know what I am talking about here.
==============================

Nothing to say.

GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Albert Holguin7-Nov-11 9:24
professionalAlbert Holguin7-Nov-11 9:24 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Erudite_Eric7-Nov-11 21:57
Erudite_Eric7-Nov-11 21:57 
AnswerRe: making a unsigned char array gives a buffer overrun error Pin
Chuck O'Toole8-Nov-11 3:04
Chuck O'Toole8-Nov-11 3:04 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Erudite_Eric8-Nov-11 23:02
Erudite_Eric8-Nov-11 23:02 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Albert Holguin9-Nov-11 5:03
professionalAlbert Holguin9-Nov-11 5:03 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Chuck O'Toole9-Nov-11 5:16
Chuck O'Toole9-Nov-11 5:16 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Erudite_Eric9-Nov-11 23:50
Erudite_Eric9-Nov-11 23:50 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Albert Holguin10-Nov-11 12:51
professionalAlbert Holguin10-Nov-11 12:51 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Erudite_Eric9-Nov-11 23:50
Erudite_Eric9-Nov-11 23:50 
AnswerRe: making a unsigned char array gives a buffer overrun error Pin
Chuck O'Toole9-Nov-11 5:15
Chuck O'Toole9-Nov-11 5:15 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Erudite_Eric9-Nov-11 23:54
Erudite_Eric9-Nov-11 23:54 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Albert Holguin8-Nov-11 3:48
professionalAlbert Holguin8-Nov-11 3:48 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Erudite_Eric8-Nov-11 23:04
Erudite_Eric8-Nov-11 23:04 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
User 5838527-Nov-11 16:53
User 5838527-Nov-11 16:53 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Erudite_Eric7-Nov-11 21:53
Erudite_Eric7-Nov-11 21:53 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
User 5838527-Nov-11 22:14
User 5838527-Nov-11 22:14 
GeneralRe: making a unsigned char array gives a buffer overrun error Pin
Albert Holguin8-Nov-11 3:51
professionalAlbert Holguin8-Nov-11 3:51 

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.