From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.2.2 PHP Bug Type: Reproducible crash Bug description: Nested [] in browscap.ini cause PHP to crash
An entry in browscap.ini similar to the following: [Mozilla/4.76 (Macintosh;US;PPC) Opera 4.? [en]] .. will cause Apache/PHP to fail to start (segmentation fault) due to the nested [] symbols. The following complete browscap.ini would be enough to reproduce this: [Opera 4.0] [Mozilla/4.76 (Macintosh;US;PPC) Opera 4.? [en]] parent=Opera 4.0 platform=MacPPC Interestingly, without a correctly formed entry on the first line PHP reports a warning instead. -- Edit bug report at http://bugs.php.net/?id=19649&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19649&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19649&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19649&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19649&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19649&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19649&r=support Expected behavior: http://bugs.php.net/fix.php?id=19649&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19649&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19649&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19649&r=globals