seg fault). (davbrown4 at yahoo dot com, Felipe)
- Fixed bug #50209 (Compiling with libedit cannot find readline.h).
(tcallawa at redhat dot com)
+- Fixed bug #49174 (crash on queryString set). (Felipe)
10 Dec 2009, PHP 5.2.12RC4
- Added LIBXML_PARSEHUGE constant to overrides the maximum text size of a
char *message = NULL;
const char *msg;
- if (dbh->error_mode == PDO_ERRMODE_SILENT) {
+ if (dbh && dbh->error_mode == PDO_ERRMODE_SILENT) {
#if 0
/* BUG: if user is running in silent mode and hits an error at the driver level
* when they use the PDO methods to call up the error information, they may
spprintf(&message, 0, "SQLSTATE[%s]: %s", *pdo_err, msg);
}
- if (dbh->error_mode != PDO_ERRMODE_EXCEPTION) {
+ if (dbh && dbh->error_mode != PDO_ERRMODE_EXCEPTION) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", message);
} else {
zval *ex, *info;