lua-users home
lua-l archive

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

I am using an OS that generates strings up to 60 bytes in length
for the sprintf %%p (i.e. the pointer presentation)

Lua5 sprintf points into a buffer of 64 bytes, not big enough.

The patches follow:

diff  of lbaselib.c  function luaB_tostring

<   char buff[64];
>   char buff[80];

diff  of liolib.c  function io_tostring

<   char buff[32];
>   char buff[80];

David B