lua-users home
lua-l archive

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


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>