bigger then size_t

maarten van damme maartenvd1994 at gmail.com
Tue Oct 9 08:32:09 PDT 2012


But doesn't args[1] get filled by the first argument followed by your
program? Wouldn't a user then be able to launch that program followed
by the contents of a big file of say 5 gig. Wouldn't that overflow the
dynamic array? Would the program gracefully exit or crash with a
cryptic error?


More information about the Digitalmars-d-learn mailing list