From: "Jason A. Donenfeld" <[email protected]>
Date: Wed,  6 May 2015 15:09:40 +0200

> transfer_buffer_length is of type u32. It's therefore wrong to assign it
> to a signed integer. This patch avoids the overflow.
> 
> It's worth noting that entry->length here is a long; perhaps it would be
> beneficial at somepoint to change this to be unsigned as well, if
> nothing else relies on its signedness for error conditions or the like.
> 
> Signed-off-by: Jason A. Donenfeld <[email protected]>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to