]> granicus.if.org Git - php/commitdiff
Fixed bug #65950 Field name truncation if the field name is bigger than 32 characters
authorYasuo Ohgaki <yohgaki@php.net>
Sat, 26 Oct 2013 01:31:21 +0000 (10:31 +0900)
committerYasuo Ohgaki <yohgaki@php.net>
Sat, 26 Oct 2013 01:31:21 +0000 (10:31 +0900)
NEWS
ext/odbc/php_odbc_includes.h

diff --git a/NEWS b/NEWS
index 9439136ef6e16512cecb98ca66fa3cfb327a9880..26a9aa9ff42c572c54a6f632ad3f66dd67323a66 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -16,6 +16,10 @@ PHP                                                                        NEWS
 - FTP:
   . Fixed bug #65667 (ftp_nb_continue produces segfault). (Philip Hofstetter)
 
+- ODBC
+  . Fixed bug #65950 (Field name truncation if the field name is bigger than 
+    32 characters). (patch submitted by: michael dot y at zend dot com, Yasuo)
+
 - Sockets:
   . Fixed bug #65808 (the socket_connect() won't work with IPv6 address).
     (Mike)
index ca237c0537bf7f15a5a2faa2948869475a76bddb..c00583b16a215e9f0c4f8aa21a531ffcd63d47f3 100644 (file)
@@ -232,7 +232,7 @@ typedef struct odbc_connection {
 } odbc_connection;
 
 typedef struct odbc_result_value {
-       char name[32];
+       char name[256];
        char *value;
        SQLLEN vallen;
        SQLLEN coltype;