Bug#990923: minetest-data: Crash in falling.lua

Adrian Bunk bunk at debian.org
Sun Jul 11 16:14:23 BST 2021


On Sun, Jul 11, 2021 at 03:31:03PM +1000, Craig Small wrote:
> Package: minetest-data
> Version: 5.3.0+repack-2
> Severity: normal
> 
> Hi,
>   falling.lua has a bug where if param2 is not defined it crashes.
> 
> 
> 2021-07-11 15:01:10: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '*builtin*' in callback luaentity_Activate(): /usr/share/games/minetest/builtin/game/falling.lua:154: attempt to perform arithmetic on field 'param2' (a nil value)
> 
> I'm not sure why param2 is not defined but its a simple fix, see patch.

The upstream fix is then likely
  https://github.com/minetest/minetest/commit/aba8c3753162320c7cc8a66913ad82f4f1fd0d8b

I am neither maintainer nor user of this package, but it sounds like 
something that might be worth fixing for bullseye.

>  - Craig
>...

cu
Adrian



More information about the Pkg-games-devel mailing list