55 Commits (3a6230ef7c92473db9f2170b72294a8bcdb294e6)

Author SHA1 Message Date
Roberto Ierusalimschy b518d14071 bug: zio mixes a 255 as first char in a buffer with EOZ 22 years ago
Roberto Ierusalimschy 69dd9461e5 bug: GC metamethod calls could mess C/Lua stack syncronization 22 years ago
Roberto Ierusalimschy feb724c122 ULONG_MAX>>10 may not fit into an int (old bug) 22 years ago
Roberto Ierusalimschy e44e579dc1 bug: luaD_protectedparser must protect its garbage collection too 22 years ago
Roberto Ierusalimschy 75f73172c4 bug: `resume' was checking the wrong value for stack overflow 22 years ago
Roberto Ierusalimschy cc4a22ebe2 bug: scope of generic for variables is not sound 22 years ago
Roberto Ierusalimschy beeff4ccaf GC metamethod stored in a weak metatable being collected together with 23 years ago
Roberto Ierusalimschy 6de93e2932 two new bugs in 4.0 :-( (both were already corrected in 5.0 :-) 23 years ago
Roberto Ierusalimschy 9d2e454d6f BUG: seg. fault when rawget/rawset get extra arguments 23 years ago
Roberto Ierusalimschy a3d03ff6b6 bug: error message for `%a' gave wrong line number 24 years ago
Roberto Ierusalimschy d444153dbe ESC (which starts precompiled code) in C is \33, not \27 24 years ago
Roberto Ierusalimschy 42224ca553 loop of 'dostring' may never reclaim memory 24 years ago
Roberto Ierusalimschy 6858763994 bug in lua_pushuserdata(L, NULL) 24 years ago
Roberto Ierusalimschy 6af005ec20 bug: when `read' fails it must return nil (and not no value) 24 years ago
Roberto Ierusalimschy fc7b167ae0 BUG: parser does not accept a `;' after a `return' 24 years ago
Roberto Ierusalimschy 89f98c0995 in function `read_file', realloc() doesn't free the buffer if it can't 24 years ago
Roberto Ierusalimschy 282ab366f4 bug: parser overwrites semantic information when looking ahead 24 years ago
Roberto Ierusalimschy 444d6a106b lua_tag should return LUA_NOTAG for non-valid indices 24 years ago
Roberto Ierusalimschy c9c6f9747c GC may crash when checking C closures 24 years ago
Roberto Ierusalimschy c2aa7bd72d bug: lua_gettable does not get key from stack top 24 years ago
Roberto Ierusalimschy f9dd50cefc `read("*w")' should return nil at EOF 24 years ago
Roberto Ierusalimschy 48a968e6b5 gc tag method for nil could call line hook 25 years ago
Roberto Ierusalimschy 677313da32 bug: record-constructor starting with an upvalue name gets an error 25 years ago
Roberto Ierusalimschy 843f84f4ce first element in a list constructor is not adjusted to one value. 25 years ago
Roberto Ierusalimschy fe5c37ae95 BUG: `strfind' gets wrong subject length when there is an offset 25 years ago
Roberto Ierusalimschy b9c98cd4d9 entry for new version (4.0a) 25 years ago
Roberto Ierusalimschy e30327728c BUG: tostring() without arguments gives seg. fault. 25 years ago
Roberto Ierusalimschy 1780e2c977 lua_settable should check stack space (it could call a T.M.) 25 years ago
Roberto Ierusalimschy b3aaa048b0 bug: cannot reopen stdin (for binary mode) 25 years ago
Roberto Ierusalimschy 4d1b815b60 return gives wrong line in debug information. 25 years ago
Roberto Ierusalimschy a6755e2f1a BUG: `strfind' does not handle \0 in plain search. 25 years ago
Roberto Ierusalimschy ae3ecc2d4a tonumber'e1' and tonumber(' ', x), for x!=10, gave 0 instead of nil. 26 years ago
Roberto Ierusalimschy 7d365a5c7a in the (old) expression << ls->fs->f->consts[checkname(ls)] >>, checkname 26 years ago
Roberto Ierusalimschy 2a03170ebd random(0) and random(x,0) are wrong (0 is read as no argument!). 26 years ago
Roberto Ierusalimschy d4dce57f5c cannot assign to unlimited variables, because it causes overflow in 26 years ago
Roberto Ierusalimschy 3b533ea7c7 foreach, foreachi, foreachvar points to function in stack when stack 26 years ago
Roberto Ierusalimschy cc0f635ef7 '$' at end of pattern was matching regular '$', too. 26 years ago
Roberto Ierusalimschy 6233d21c9d file stream cannot call fread after EOF. 26 years ago
Roberto Ierusalimschy 1dcf1c9cbd format "%s" may break limit of "sprintf" on some machines. 26 years ago
Roberto Ierusalimschy 80001ab0eb getlocal cannot return the local itself, since lua_isstring and 26 years ago
Roberto Ierusalimschy b94110a68f bug: "format" does not check size of format item (such as "%00000...00000d"). 26 years ago
Roberto Ierusalimschy 0c9080c7a9 "tonumber" goes crazy with negative numbers in other bases (not 10), 26 years ago
Roberto Ierusalimschy a84bca67fc bug: gsub/strfind do not check whether captures are properly finished. 26 years ago
Roberto Ierusalimschy ce9609296c function "luaL_argerror" prints wrong argument number (from a user's point 27 years ago
Roberto Ierusalimschy da252eeff7 arguments for "format" 'x', 'X', 'o' and 'u' must be unsigned int. 27 years ago
Roberto Ierusalimschy be6d215f67 BUG: gsub('a', '(b?)%1*' ...) loops (because the capture is empty). 27 years ago
Roberto Ierusalimschy 6cdf0d8768 tables can become full of "emptys" slots, and keep growing without limits. 27 years ago
Roberto Ierusalimschy b3b7cf7335 BUG: "lua_getstring" may create a new string, so should check GC 27 years ago
Roberto Ierusalimschy 8622dc18bf bug: format size limits with little problems 27 years ago
Roberto Ierusalimschy d22e2644dd wrong line number (+1) in error report when file starts with "#..." 27 years ago