lua-users home
lua-l archive

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


> It seems that the "buffer overflow" is due to the compiler thinking no space has been allocated to (*node)->ts.str.

Actually, ts.str is declared as char str[1] and is the last member. So
it seems that gcc 5.4 does not like the trick of using this address
for a longer string.