lua-users home
lua-l archive

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


Thanks Tom.

On Tue, Sep 25, 2012 at 3:27 AM, TNHarris <telliamed@whoopdedo.org> wrote:
On Monday, September 24, 2012 04:41:53 PM Michał Łowicki wrote:
> In line 443 condition (newsize - B->n < sz) is always false for me because
> of 441-442. Isn't it? Also can (newsize < B->n) be true? For me B->n is
> always <= B->size and in 440 we assign size_t newsize = B->size * 2. Thanks
> in advance!

It's for integer overflow. That's why the error is "buffer too large".

--
tom <telliamed@whoopdedo.org>




--
BR,
Michał Łowicki