[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua 5 bug
- From: "D Burgess" <db@...>
- Date: Mon, 25 Aug 2003 1:4:44 +1000
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
327c327
< char buff[64];
---
> char buff[80];
diff of liolib.c function io_tostring
179c181
< char buff[32];
---
> char buff[80];
regards
David B