On Wednesday 2018-06-20 02:22, Matheus Santana wrote: >Reviewed-by: Matheus Santana <[email protected]> > >The check for negatives isn't needed anymore?
It indeed is not, since a (size_t)-1 is generally greater than 1048576. > Let's put a cap on for one MB, anything above that is likely some memory > corruption and should be caught early. _______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
