summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/patches/bug53323.patch22
-rw-r--r--debian/patches/series1
2 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/bug53323.patch b/debian/patches/bug53323.patch
new file mode 100644
index 000000000..53cfd5575
--- /dev/null
+++ b/debian/patches/bug53323.patch
@@ -0,0 +1,22 @@
+--- a/ext/pdo_firebird/firebird_driver.c
++++ b/ext/pdo_firebird/firebird_driver.c
+@@ -547,7 +547,7 @@ static int firebird_handle_get_attribute
+ pdo_firebird_db_handle *H = (pdo_firebird_db_handle *)dbh->driver_data;
+
+ switch (attr) {
+- char tmp[200];
++ char tmp[512];
+
+ case PDO_ATTR_AUTOCOMMIT:
+ ZVAL_LONG(val,dbh->auto_commit);
+@@ -590,6 +590,10 @@ static int firebird_handle_get_attribute
+ ZVAL_STRING(val,tmp,1);
+ return 1;
+ }
++
++ case PDO_ATTR_FETCH_TABLE_NAMES:
++ ZVAL_BOOL(val, H->fetch_table_names);
++ return 1;
+ }
+ return 0;
+ }
diff --git a/debian/patches/series b/debian/patches/series
index d94badfa5..da3fd3c13 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -68,3 +68,4 @@ CVE-2010-3436.patch
bug52947.patch
fix_crash_in_GC.patch
bug53070.patch
+bug53323.patch