[PATCH 1/2] Replace check_mul_overflow_size_t with INT_MULTIPLY_WRAPV

Florian Weimer fw@deneb.enyo.de
Sat Dec 22 10:45:00 GMT 2018


* Adhemerval Zanella:

> -  bool overflow = check_mul_overflow_size_t (element_size, count, &size);
> +  bool overflow = INT_MULTIPLY_WRAPV (element_size, count, &size);

What's the reason for not using the compiler built-in?



More information about the Libc-alpha mailing list