lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

When using LUA using Borland C++ Builder 5, with CodeGuard enabled I get the notification shown below.  This is repeatable and happens when I attempt 
to execute some "bad" lua code via dostring();

Any ideas?

Thanks
Terry Bayne

Error 00032. 0x130410 (Thread 0x02D0):
Access overrun: Attempt to access 99 byte(s) at 0x01086B58, that is at offset
 20 in heap block 0x01086B44 which is only 68 bytes long.
sprintf(0x01D4F5E8, 0x0049B577 ["string "%.99s""], 0x01086B58 ["lwrite("This
 is a test"); I wonder where we are"], ...)

Call Tree:
   0x0041B7A4(=lash.exe:0x01:01A7A4) E:\Develop\Common\LUA\src\lobject.c#122
   0x00419F03(=lash.exe:0x01:018F03) E:\Develop\Common\LUA\src\llex.c#60
   0x00419F58(=lash.exe:0x01:018F58) E:\Develop\Common\LUA\src\llex.c#70
   0x00416C9C(=lash.exe:0x01:015C9C) E:\Develop\Common\LUA\src\lcode.c#22
   0x0041B856(=lash.exe:0x01:01A856) E:\Develop\Common\LUA\src\lparser.c#77
   0x0041B875(=lash.exe:0x01:01A875) E:\Develop\Common\LUA\src\lparser.c#83

The memory block (0x01086B44) [size: 68 bytes] was allocated with realloc
Call Tree:
   0x0041B4C3(=lash.exe:0x01:01A4C3) E:\Develop\Common\LUA\src\lmem.c#141
   0x0041DAF1(=lash.exe:0x01:01CAF1) E:\Develop\Common\LUA\src\lstring.c#100
   0x0041DC95(=lash.exe:0x01:01CC95) E:\Develop\Common\LUA\src\lstring.c#146
   0x0041C198(=lash.exe:0x01:01B198) E:\Develop\Common\LUA\src\lparser.c#350
   0x00418EEF(=lash.exe:0x01:017EEF) E:\Develop\Common\LUA\src\ldo.c#237
   0x00419287(=lash.exe:0x01:018287) E:\Develop\Common\LUA\src\ldo.c#373