Re: allow_url_fopen should be INI_ALL

From: Date: Wed, 29 Jun 2005 14:47:46 +0000
Subject: Re: allow_url_fopen should be INI_ALL
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-17006@lists.php.net to get a copy of this message
Nope. Some functions are intrinsically safe, e.g. C's atol, or strtol. It's all in the design, you see. {
char badstring[3] = { '1', '0', '0' }; long not100 = atol(badstring); } Only intrinsicly safe if you've read the manual page to know that badstring should have been null terminated. -Sara

« previous php.internals (#17006) next »