Add comment to explain hang_emerge
This commit is contained in:
parent
9b54717da4
commit
217af233a7
|
@ -1,3 +1,7 @@
|
||||||
|
-- Calling minetest.emerge_area() with an out-of-bounds position like
|
||||||
|
-- below makes Minetest 5.5 hang and waste CPU and RAM resources; any
|
||||||
|
-- attacker could use it to hang a server. Note that x=32766 is safe.
|
||||||
|
|
||||||
local emerge = function()
|
local emerge = function()
|
||||||
local i = 32767
|
local i = 32767
|
||||||
minetest.emerge_area(
|
minetest.emerge_area(
|
||||||
|
|
Loading…
Reference in New Issue