cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
String buffer overflow
String buffer overflow
Sep 23, 2008 at 7:24am UTC
dodo ind
(1)
Hi all
I'm using a 'STRING' variable to store the entire contents of a file. Is there any possibility of buffer overflow if the content of the file is large? (eg: say size of the file is 30MB).
Thanks in advance
Sep 23, 2008 at 11:04am UTC
helios
(17607)
Is it a STRING or a string? They're different, you know?
The former is overflowable and the latter isn't.
Topic archived. No new replies allowed.