Re: Harden iptables memory allocator

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

 



On Friday 2015-05-22 10:50, Hannes Frederic Sowa wrote:
>
>> + if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) &&
>
>if ((nmemb|size) >= MUL_NO_OVERFLOW) && ...

I am sure there are many C tricks one can do, but iptables is
hardly that time-critical to warrant such.
The compiler should perhaps learn to do such an optimization
if it does not already.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux