Re: [wxlua-users] Potential memory fault in wxLua

2013-08-11 Thread John Labenski
On Sat, Aug 10, 2013 at 3:41 PM, Andreas Falkenhahn wrote: > Hi, > > I've just seen that there seems to be a potential memory access fault in > wxLua in > wxlua_getchararray() in wxlstate.cpp. Have a look at this code: > > int table_len = lua_objlen(L, stack_idx); > if (table_len >

[wxlua-users] Potential memory fault in wxLua

2013-08-10 Thread Andreas Falkenhahn
Hi, I've just seen that there seems to be a potential memory access fault in wxLua in wxlua_getchararray() in wxlstate.cpp. Have a look at this code: int table_len = lua_objlen(L, stack_idx); if (table_len > 0) arrChar = new const char *[table_len]; if (arrCh