On 24/01/2021 18:09, Jonas wrote:
> Dear NetSurf developers,
> 
> I would like to point out a possible integer overflow bug on systems
> where size_t is 32-bit. In netsurf/desktop/netsurf.c:170 -- multiplying
> ‘disc_cache_size’ (being 1 GB) with 20 gives 0, thus resulting in
> ‘hysteresis’ also becoming 0.

Thanks for the report!  Should be fixed in:

http://source.netsurf-browser.org/netsurf.git/commit/?id=da2aa05b730560024760a25dabc2078f578efd10

Cheers,

-- 
Michael Drake
_______________________________________________
netsurf-dev mailing list -- netsurf-dev@netsurf-browser.org
To unsubscribe send an email to netsurf-dev-le...@netsurf-browser.org

Reply via email to