From: Enrico Tassi <gareuselesinge@debian.org> Date: Tue, 26 Aug 2014 16:20:55 +0200 Subject: Fix stack overflow in vararg functions --- src/ldo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ldo.c b/src/ldo.c index d1bf786..30333bf 100644 --- a/src/ldo.c +++ b/src/ldo.c @@ -274,7 +274,7 @@ int luaD_precall (lua_State *L, StkId func, int nresults) { CallInfo *ci; StkId st, base; Proto *p = cl->p; - luaD_checkstack(L, p->maxstacksize); + luaD_checkstack(L, p->maxstacksize + p->numparams); func = restorestack(L, funcr); base = func + 1; m'><form method='get'> <input type='hidden' name='id' value='99c39c28f9a5040c82693eea9c09be3a17a0dfcb'/><select name='h' onchange='this.form.submit();'> <option value='koszko' selected='selected'>koszko</option> <option value='koszko-scripts'>koszko-scripts</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>Wojtek's customized Guix</td><td class='sub right'></td></tr></table> <table class='tabs'><tr><td> <a href='/guix/about/'>about</a><a href='/guix/'>summary</a><a href='/guix/refs/?id=99c39c28f9a5040c82693eea9c09be3a17a0dfcb'>refs</a><a class='active' href='/guix/log/gnu/packages/datastructures.scm'>log</a><a href='/guix/tree/gnu/packages/datastructures.scm?id=99c39c28f9a5040c82693eea9c09be3a17a0dfcb'>tree</a><a href='/guix/commit/gnu/packages/datastructures.scm?id=99c39c28f9a5040c82693eea9c09be3a17a0dfcb'>commit</a><a href='/guix/diff/gnu/packages/datastructures.scm?id=99c39c28f9a5040c82693eea9c09be3a17a0dfcb'>diff</a></td><td class='form'><form class='right' method='get' action='/guix/log/gnu/packages/datastructures.scm'> <input type='hidden' name='id' value='99c39c28f9a5040c82693eea9c09be3a17a0dfcb'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/guix/log/?id=99c39c28f9a5040c82693eea9c09be3a17a0dfcb'>root</a>/<a href='/guix/log/gnu?id=99c39c28f9a5040c82693eea9c09be3a17a0dfcb'>gnu</a>/<a href='/guix/log/gnu/packages?id=99c39c28f9a5040c82693eea9c09be3a17a0dfcb'>packages</a>/<a href='/guix/log/gnu/packages/datastructures.scm?id=99c39c28f9a5040c82693eea9c09be3a17a0dfcb'>datastructures.scm</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/guix/log/gnu/packages/datastructures.scm?id=99c39c28f9a5040c82693eea9c09be3a17a0dfcb&showmsg=1'>Expand</a>)</th><th class='left'>Author</th></tr> <tr><td><span title='2018-11-10 23:33:46 +0100'>2018-11-10</span></td><td><a href='/guix/commit/gnu/packages/datastructures.scm?id=9d466489cdbbfb2097ec3e211351d7b34fb70b60'>gnu: Add marisa.</a><span class='msg-avail'>...<span class='msg-tooltip'>* gnu/packages/datastructures.scm (marisa): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org> </span></span></td><td>Meiyo Peng</td></tr> <tr><td><span title='2018-01-24 15:47:52 +0100'>2018-01-24</span></td><td><a href='/guix/commit/gnu/packages/datastructures.scm?id=8f4bf6a99065f836858c42ebcd2ee8a6c4482c65'>gnu: liburcu: Update to 0.10.1.</a><span class='msg-avail'>...<span class='msg-tooltip'>* gnu/packages/datastructures.scm (liburcu): Update to 0.10.1. </span></span></td><td>Tobias Geerinckx-Rice</td></tr> <tr><td><span title='2017-12-12 05:12:13 +0100'>2017-12-12</span></td><td><a href='/guix/commit/gnu/packages/datastructures.scm?id=cc3ac162c558a51c90b76b84b081a15e28d0baad'>gnu: Add uthash.</a><span class='msg-avail'>...<span class='msg-tooltip'>* gnu/packages/datastructures.scm (uthash): New public variable. </span></span></td><td>Tobias Geerinckx-Rice</td></tr> <tr><td><span title='2017-06-15 10:34:22 +0200'>2017-06-15</span></td><td><a href='/guix/commit/gnu/packages/datastructures.scm?id=a3f8aae4a159baf2de10c1f8860d7128c89fbb0c'>gnu: liburcu: Update to 0.10.0.</a><span class='msg-avail'>...<span class='msg-tooltip'>* gnu/packages/databases.scm (liburcu): Update to 0.10.0. </span></span></td><td>Tobias Geerinckx-Rice</td></tr> <tr><td><span title='2017-04-17 02:04:08 +0200'>2017-04-17</span></td><td><a href='/guix/commit/gnu/packages/datastructures.scm?id=d1e4ad1b02b2ea888557d3272c50b676faf18ca4'>gnu: Fix typos in descriptions.</a><span class='msg-avail'>...<span class='msg-tooltip'>* gnu/packages/admin.scm (di)[description]: Likewise. * gnu/packages/bioinformatics.scm (r-annotate)[description]: Likewise. * gnu/packages/datastructures.scm (sparsehash)[description]: Likewise. * gnu/packages/dns.scm (knot)[description]: Likewise. * gnu/packages/emacs.scm (emacs-idle-highlight)[synopsis, description]: Likewise. * gnu/packages/gnome.scm (libpeas)[description]: Likewise. * gnu/packages/gtk.scm (python2-pygtk)[description]: Likewise. * gnu/packages/kde-frameworks.scm (kactivities)[description]: Fix typo. * gnu/packages/libevent.scm (perl-anyevent)[description]: Likewise. * gnu/packages/machine-learning.scm (ghmm)[description]: Likewise. * gnu/packages/mail.scm (mlmmj)[description]: Likewise. * gnu/packages/maths.scm (vc)[description]: Likewise. * gnu/packages/music.scm (gx-super-fuzz-lv2)[description]: Likewise. * gnu/packages/networking.scm (nload)[description]: Likewise. * gnu/packages/python.scm (python-execnet)[description]: Likewise. * gnu/packages/terminals.scm (tilda)[description]: Likewise. * gnu/packages/python.scm (python-execnet, python-tables) (python2-coverage-test-runner, python2-rope)[description]: Likewise. </span></span></td><td>Tobias Geerinckx-Rice</td></tr> <tr><td><span title='2017-03-17 02:32:00 +0100'>2017-03-17</span></td><td><a href='/guix/commit/gnu/packages/datastructures.scm?id=754667f0eb44491370a2ec4fa0b4705cfcf6d237'>gnu: Add liburcu.</a><span class='msg-avail'>...<span class='msg-tooltip'>* gnu/packages/datastructures.scm (liburcu): New variable. </span></span></td><td>Tobias Geerinckx-Rice</td></tr>