Re: luaO_pushvfstring reads past end of format string on trailing %

"'Sainan' via lua-l" <[email protected]>
Newsgroups gmane.comp.lang.lua.general
Message-ID <rT4eLWEKdRGUzPL2VUMILEQCKVwIJM8DMlvBdxsnDckkubBG2_msmt4pwtRO8CNnDIuhvMBkJYHeJ1SrCC2XqS9blExt_IzNFyc9YhL_T6g=@calamity.inc>
Interesting edge case in theory, but are we sure this isn't a hallucination? Doesn't reproduce for me at all:

print(string.format("%f%", 100)) -- bad argument #3 to 'format' (no value)
print(string.format("%f%", 100, 0)) -- invalid conversion '%' to 'format'

-- Sainan

-- 
You received this message because you are subscribed to the Google Groups "lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/lua-l/rT4eLWEKdRGUzPL2VUMILEQCKVwIJM8DMlvBdxsnDckkubBG2_msmt4pwtRO8CNnDIuhvMBkJYHeJ1SrCC2XqS9blExt_IzNFyc9YhL_T6g%3D%40calamity.inc.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.