Re: Some compatibility issues using STL.
- From: "Arnaud Debaene" <adebaene@xxxxxxxxxxxxxxxx>
- Date: Fri, 9 Feb 2007 08:05:40 +0100
"Arnie" <NoOne@xxxxxxxx> a écrit dans le message de news: %
What's wrong with:
char buf[MAX_PATH];
Then there's no memory allocation.
There is nothing wrong per-se with stack allocation, but it makes your code
more susceptible to be a security hole in case of buffer overrun..
Arnaud
MVP - VC
.
- Prev by Date: Re: Incorrect compiler warning C4267
- Next by Date: Re: Incorrect compiler warning C4267
- Previous by thread: Re: Incorrect compiler warning C4267
- Next by thread: Re: std::bitset
- Index(es):