com php-src: Fixed bug #65950 Field name truncation if the field name is bigger than 32 characters: NEWS ext/odbc/php_odbc_includes .h
| From: | Yasuo Ohgaki | Date: | Sat, 26 Oct 2013 01:31:21 +0000 |
| Subject: | com php-src: Fixed bug #65950 Field name truncation if the field name is bigger than 32 characters: NEWS ext/odbc/php_odbc_includes .h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73809@lists.php.net to get a copy of this message | ||
Commit: e50eb1ce3408d15cd26fd88203c68f52e59f6b0b
Author: Yasuo Ohgaki <yohgaki@php.net> Sat, 26 Oct 2013 10:31:21 +0900
Parents: 1f5b1cfb2b238b282c48adb663aaa084e28290c0
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e50eb1ce3408d15cd26fd88203c68f52e59f6b0b
Log:
Fixed bug #65950 Field name truncation if the field name is bigger than 32 characters
Bugs:
https://bugs.php..net/65950
Changed paths:
M NEWS
M ext/odbc/php_odbc_includes.h
Diff:
diff --git a/NEWS b/NEWS
index 9439136..26a9aa9 100644
--- 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)
diff --git a/ext/odbc/php_odbc_includes.h b/ext/odbc/php_odbc_includes.h
index ca237c0..c00583b 100644
--- a/ext/odbc/php_odbc_includes.h
+++ b/ext/odbc/php_odbc_includes.h
@@ -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;