lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> One problem is that this can create an opportunity for DOS attacks if
> the numbers are under the control of an attacker.

Not only the numbers! The code must explicitly insert some of them
in the table (a[i] = true) but "pseudo"-insert the others
(a[-i] = nil). That does not seem something that occurs often in
real code.

-- Roberto