lua54/luabugs5.patch
Matej Cepl ce441f7720 - Update to 5.4.5:
- this is a bug-fix release.
  - Lua 5.4.5 also contains several internal improvements and
    includes a revised reference manual
- Remove upstreamed patches:
  - luabugs1.patch
  - luabugs10.patch
  - luabugs11.patch
  - luabugs2.patch
  - luabugs6.patch
  - luabugs7.patch
  - luabugs8.patch
  - luabugs9.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=72
2023-04-30 22:05:58 +00:00

20 lines
460 B
Diff

From 196bb94d66e727e0aec053a0276c3ad701500762 Mon Sep 17 00:00:00 2001
From: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Wed, 25 May 2022 17:41:39 -0300
Subject: [PATCH] Bug: 'lua_settop' may use an invalid pointer to stack
---
src/lfunc.c | 1 +
1 file changed, 1 insertion(+)
--- a/src/lfunc.c
+++ b/src/lfunc.c
@@ -204,6 +204,7 @@ void luaF_closeupval (lua_State *L, StkI
luaC_barrier(L, uv, slot);
}
}
+ return level;
}