Product Documentation

c-treeACE V10.3 Release Notes

Previous Topic

Next Topic

CTDB - ctdbStringToNumber stack corruption causes server crash

When the ctdbStringToNumber() function (a c-treeDB function used in COBOL-to-SQL data conversion) was passed a string that was longer than its 128-byte buffer, it was writing over the end of the 128-byte buffer, corrupting the stack, and causing a crash. A check has been added to avoid going beyond the boundaries of buffer. When the boundary is reached, ctdbStringToNumber() now returns CTDBRET_INVNUMBER.

TOCIndex