File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -5853,12 +5853,16 @@ PHP_FUNCTION(db2_result)
5853
5853
in_length ++ ;
5854
5854
}
5855
5855
/*
5856
- * CB 20210128: SQL/CLI bug caused by a PTF makes SQLGetData |
5856
+ * CB 20210128: SQL/CLI bug caused by a PTF makes SQLGetData
5857
5857
* return more data than what was provided from it - seems to
5858
5858
* be almost the data it would have returned /plus/ the input
5859
5859
* length. To compensate, we'll allocate twice as much, but
5860
5860
* only provide the real length. This is awful and dumb, but
5861
5861
* it might be necessary to prevent a buffer overflow.
5862
+ *
5863
+ * (20210309 update): The following i PTF may fix this issue,
5864
+ * according to a user report: SI75759
5865
+ * 5770SS1-OSP-DB-OTHER-INCORROUT USING SQLCLI AND CALLING SQLGETDATA A
5862
5866
*/
5863
5867
out_ptr = (SQLPOINTER )ecalloc (1 , in_length * 2 );
5864
5868
if ( out_ptr == NULL ) {
You can’t perform that action at this time.
0 commit comments