home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
14.10.xC11 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

Informix - Problembeschreibung

Problem IT03201 Status: Geschlossen

SPL RETURNING LVARCHAR TYPES WHEN NESTED OR RECURSIVE CAN CORRUPT MEMORY AS
THE LVARCHAR GETS LARGER ON SUBSEQUENT CALLS

Produkt:
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10
Problembeschreibung:
It would appear that LVARCHAR return types can under some 
circumstances over write memory causing all sort of different 
failures. 
 
The SPL code involved has both nested and recursive SPL calls, 
each returning a LVARCHAR and as the return value for the 
LVARCHAR seemed to increase in subsequent calls, the memory for 
the LVARCHAR seemed to be not large enough and eventually wrote 
outside it's bounds and caused memory corruption. 
 
One particular AF looked like this: 
 
08:58:34  Found during mt_shm_free 1 
08:58:34  Pool '82397' (0x113116040) 
08:58:34  Bad block header 0x125958400 
blk-64 
00000001259583c0: 6e64206d 6f6e6579 20696e20 61207265   nd money 
in a re 
00000001259583d0: 73746175 72616e74 20776974 68206261   staurant 
with ba 
00000001259583e0: 64206375 73746f6d 65722073 65727669   d custom 
er servi 
00000001259583f0: 63652e20 43757374 6f6d6572 2063616d   ce. Cust 
omer cam 
blk+64 
0000000125958400: 6520696e 20746f64 61792062 65636175   e in tod 
ay becau 
0000000125958410: 73652068 69732064 61756768 74657220   se his d 
aughter 
0000000125958420: 77616e74 65642074 6f206561 74207768   wanted t 
o eat wh 
0000000125958430: 69746520 63617374 6c652e00 00000000   ite cast 
le...... 
 
There should have been a block header at 0x125958400, but you 
can clearly see a string appears to have exceeded it's bounds 
and continued on into the following block header corrupting it. 
This string should have been allocated for a return value of 
LVARCHAR type from a SPL call.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Recursive Stored procedures                                  * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to 12.10xC5 or earlier PID if available              * 
****************************************************************
Local-Fix:
Lösung
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
16.07.2014
16.10.2015
16.10.2015
Problem behoben ab folgender Versionen (IBM BugInfos)
12.10.xC5
Problem behoben lt. FixList in der Version
12.10.xC5 FixList
12.10.xC5.W1 FixList