[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: seeding may not be an effective defense against hash flooding
- From: Pierre-Yves Gérardy <pygy79@...>
- Date: Mon, 18 Dec 2017 19:26:31 +0100
On Mon, Dec 11, 2017 at 11:04 AM, Javier Guerra Giraldez
> On 10 December 2017 at 04:21, Daurnimator <firstname.lastname@example.org> wrote:
> strings with identical hash. very easy to generate; but in our code
> base, all external inputs that end up as table keys are size limited
> to at most a couple hundred.
What about string interning (which AFAIK uses a hash table
internally)? Do you limit the string length before passing them to
Lua? Or is it irrelevant for LuaJIT?