PHP 4.0 Bug #2916 Updated: segfault on file($someurl) and odd response
| From: | Bug Database | Date: | Sun, 05 Dec 1999 04:20:33 +0000 |
| Subject: | PHP 4.0 Bug #2916 Updated: segfault on file($someurl) and odd response | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13449@lists.php.net to get a copy of this message | ||
ID: 2916
User Update by: sroberts@snap.com
Status: Open
Bug Type: Reproduceable crash
Description: segfault on file($someurl) and odd response
Ok, I got it working, but something odd is still up. It might be a chaotic thing to do with the
build, but when I added debugging stuff to it seemed to right itself.
The line that I considered most (url.c: ())
if ((err=regcomp(&re, "^(([^@:]+)(:([^@:]+))?@)?([^:@]+)(:([^:@]+))?", REG_EXTENDED))
|| (err=regexec(&re, result, 10, subs, 0))) {
/* FAILURE */
}
Now, I'm wondering if the order of evaluation is guaranteed in this circumstance, and whether
the second part might be executed even if the first part fails (hence overwriting err).
*shrug*
Full Bug description available at: http://bugs.php.net/version4/?id=2916