Skip to content

Commit e50eb1c

Browse files
author
Yasuo Ohgaki
committed
Fixed bug #65950 Field name truncation if the field name is bigger than 32 characters
1 parent 1f5b1cf commit e50eb1c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

NEWS

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ PHP NEWS
1616
- FTP:
1717
. Fixed bug #65667 (ftp_nb_continue produces segfault). (Philip Hofstetter)
1818

19+
- ODBC
20+
. Fixed bug #65950 (Field name truncation if the field name is bigger than
21+
32 characters). (patch submitted by: michael dot y at zend dot com, Yasuo)
22+
1923
- Sockets:
2024
. Fixed bug #65808 (the socket_connect() won't work with IPv6 address).
2125
(Mike)

ext/odbc/php_odbc_includes.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ typedef struct odbc_connection {
232232
} odbc_connection;
233233

234234
typedef struct odbc_result_value {
235-
char name[32];
235+
char name[256];
236236
char *value;
237237
SQLLEN vallen;
238238
SQLLEN coltype;

0 commit comments

Comments
 (0)