On Wednesday 2018-06-20 02:22, Matheus Santana wrote:

>Reviewed-by: Matheus Santana <e...@cin.ufpe.br>
>
>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
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to