Roberto Ierusalimschy
48735da0d0
When loading a file, Lua may call the reader function again after
it returned end of input + luac listings choke on long strings
12 years ago
Roberto Ierusalimschy
2d6a0ae149
added patch to last bug
12 years ago
Roberto Ierusalimschy
bef345a4b8
bug: Wrong error message in some short-cut expressions
12 years ago
Roberto Ierusalimschy
2b1c2c61b0
bug: Wrong assert when reporting concatenation errors.
12 years ago
Roberto Ierusalimschy
6347004be9
stack overflow in vararg functions + garbage collector in recursive loops
12 years ago
Roberto Ierusalimschy
ad56721948
details (5.2 corrected to 5.2.0)
12 years ago
Roberto Ierusalimschy
65e31fb179
Bug: load/loadfile returns wrong result when given an environment
for a binary chunk with no upvalues
12 years ago
Roberto Ierusalimschy
adaba04059
'pcall' may not restore previous error function when
inside coroutines + Check for garbage collector in function calls
does not cover all paths
12 years ago
Roberto Ierusalimschy
2038073975
more regularity for field 'fix'
12 years ago
Roberto Ierusalimschy
763f84c84c
Some patterns can overflow the C stack, due to recursion.
12 years ago
Roberto Ierusalimschy
78d9865900
bugs: Internal Lua values may escape through the debug API +
Problems when yielding from debug hooks
13 years ago
Roberto Ierusalimschy
4ec7d6de95
bug: wrong handling of 'nCcalls' in coroutines
13 years ago
Roberto Ierusalimschy
1485ea2ee7
Finalizers may call functions from a dynamic library after
the library has been unloaded
13 years ago
Roberto Ierusalimschy
81ed85ecfb
BUG: memory hoarding when creating Lua hooks for coroutines
BUG: Lexical gets confused with some combination of arithmetic
operators and hexadecimal numbers
13 years ago
Roberto Ierusalimschy
1dd8af67b6
BUG: parser may collect a prototype while building it.
13 years ago
Roberto Ierusalimschy
8a008a2057
bug: __newindex metamethod may not work if metatable is its own
metatable.
13 years ago
Roberto Ierusalimschy
a7faa557fa
bug: problem with optimizations of short-circuit logic
14 years ago
Roberto Ierusalimschy
e99e9a9473
patches for last two bugs (string.format and io.read)
15 years ago
Roberto Ierusalimschy
9d28e2b3e5
bug with io.read(op, "*n")
15 years ago
Roberto Ierusalimschy
8003e9544d
'string.format' may get buffer as an argument when there are
missing arguments and format string is too long
15 years ago
Roberto Ierusalimschy
9a6d9ea57a
GC may get stuck during a parser and avoids proper resizing of the
string table, making its lists grow too much and degrading performance.
15 years ago
Roberto Ierusalimschy
95cbc402dc
"But" -> "Bug" (misspelling)
15 years ago
Roberto Ierusalimschy
decada8dc2
'debug.getfenv' does not check whether it has an argument
15 years ago
Roberto Ierusalimschy
0c258c8492
smart use of varargs may create functions that return too
many arguments and overflow the stack of C functions.
16 years ago
Roberto Ierusalimschy
d57c9cdefc
BUG: 'luaV_settable' may invalidate a reference to a table and try
to reuse it.
16 years ago
Roberto Ierusalimschy
49b88b1c39
patch for wrong code generation for some particular boolean expressions
16 years ago
Roberto Ierusalimschy
58c3aa8b5f
malicious zero-length string in binary code may segfault Lua +
wrong code generation for some particular boolean expressions
16 years ago
Roberto Ierusalimschy
ccd678ea3e
'module' may change the environment of a C function +
internal macro 'svalue' is wrong
16 years ago
Roberto Ierusalimschy
6955666290
'string.byte' gets confused with some out-of-range negative indices +
user-requested GC step may loop forever
17 years ago
Roberto Ierusalimschy
a3af42de8e
patch for "blow stack" bug
17 years ago
Roberto Ierusalimschy
2b84e36b93
patches for some bugs
17 years ago
Roberto Ierusalimschy
e64b0cada8
several bugs related to precompiled code
17 years ago
Roberto Ierusalimschy
32d42bdcdc
bugs: lua_checkstack may have arithmetic overflow for large 'size' +
unpack with maximum indices may crash due to arithmetic overflow
17 years ago
Roberto Ierusalimschy
f6cab9666c
corrected name of 'Patrick Donnelly'
17 years ago
Roberto Ierusalimschy
3b5b14a085
LUAI_MAXCSTACK must be smaller than -LUA_REGISTRYINDEX +
coroutine.resume pushes element without ensuring stack size
17 years ago
Roberto Ierusalimschy
3a515df086
debug.sethook/gethook may overflow the thread's stack
17 years ago
Roberto Ierusalimschy
fdecdd0cec
stand-alone interpreter shows incorrect error message when the
'message' is a coroutine (already fixed in 5.2)
17 years ago
Roberto Ierusalimschy
abcc124df0
BUG: lua_setfenv may crash if called over an invalid object
17 years ago
Roberto Ierusalimschy
9f0d62ad9f
BUG: table.remove removes last element of a table when given
an out-of-bound index
17 years ago
Roberto Ierusalimschy
c06cc60946
BUG: 'gsub' may go wild when wrongly called without its third
> argument and with a large subject.
17 years ago
Roberto Ierusalimschy
8acaa2ce07
An error in a module loaded through the '-l' option
shows no traceback.
17 years ago
Roberto Ierusalimschy
ec68ed66ed
detail
18 years ago
Roberto Ierusalimschy
f6a81dbe97
BUG: too many variables in an assignment may cause a C stack overflow
18 years ago
Roberto Ierusalimschy
dc59444cd1
strong collision for very small numbers used as table keys
18 years ago
Roberto Ierusalimschy
18a583306b
patch may be a little simpler
18 years ago
Roberto Ierusalimschy
fc8d077612
bug: wrong error message in some concatenations
18 years ago
Roberto Ierusalimschy
e64fcb9d94
bug: recursive coroutines may overflow C stack
18 years ago
Roberto Ierusalimschy
6c0a9a272e
assignment of nil to parameter may be optimized away
__concat metamethod converts numbers to strings
loadlib.c should not access Lua internals
code generated for "-nil", "-true", and "-false" is wrong
Count hook may be called without being set
18 years ago
Roberto Ierusalimschy
60bc151ed7
patch for last bug
18 years ago
Roberto Ierusalimschy
3bf0292cd5
two new bugs + one new patch
18 years ago