Re: [GIT PULL] TPM driver robustness fixes
From: Rajiv Andrade
Date: Tue Mar 22 2011 - 09:16:48 EST
On 03/22/2011 09:58 AM, Peter Huewe wrote:
Consider what happens in memset if copy_to_user fails.
Sorry I don't see it. Can you please clearify the problem for me?
memset() is called with the count parameter being a negative value,
ret_size=-EFAULT.
Rajiv
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/