[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Reporting possible BUG on string.gsub
- From: Javier Guerra <javier@...>
- Date: Fri, 23 Jan 2009 09:40:56 -0500
On Fri, Jan 23, 2009 at 9:37 AM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> maybe the print() function should cope with \0 bytes in the string.
>> that would make these kind of issues more obvious.
>
> There's a power patch for that:
> http://lua-users.org/files/wiki_insecure/power_patches/5.1/print_nuls.patch
yep, and for embedding it's usually a non-issue; but that doesn't help
newcomers.
--
Javier