DB2 - Problem description
Problem IC98010 | Status: Closed |
STALE POINTER IN CURSOR HANDLING CODE CAN LEAD TO A CRASH IN FUNCTION CSMGETNEWCDBBUFFER | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
When there is a mixture of CLI statements being executed on one connection, if one statement retrieves LOB data whilst another statement is still retrieving a result set via SQLFetch, then there is a possibility that a stale pointer will write data into a cached DB2 server side cursor buffer. This can lead to a crash in function csmGetNewCDBBuffer as the code reuses the buffer. As a secondary symptom, it can also lead to a wrong interpretation of data leading to unexpected symptoms during the SQLFetch e.g. error -30020 , or a "data truncation warning" or different as the code will not have written data to the right location and whatever data happens to be in memory will be read instead. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * all * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade the database server to v9.7 Fix Pack 10 or higher. * **************************************************************** | |
Local Fix: | |
Solution | |
This problem was first fixed in v9.7 Fix Pack 10 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 28.11.2013 08.12.2014 08.12.2014 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP10 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.10 |