lua-users home
lua-l archive

Re: [PATCH] Fix integer overflow when parsing hex numbers

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


On Sun, 5 Jun 2022 at 15:14, Lorenzo Donati <lorenzodonatibz@tiscali.it> wrote:
> On 04/06/2022 23:21, Luiz Henrique de Figueiredo wrote:
> Is this new behavior or 5.3 already behaved like this, but it was not
> documented?
That easily checked:
Lua 5.3.3 Copyright (C) 1994-2016 Lua.org, PUC-Rio
> print(0x12345678901234567890,0x5678901234567890,0x1111111111111115678901234567890)
6230888492328974480 6230888492328974480 6230888492328974480
FOS

AltStyle によって変換されたページ (->オリジナル) /