mirror of https://gitee.com/openkylin/linux.git
b1d353ad3d
"count" is controlled by the user and it can be negative. Let's prevent
that by making it unsigned. You have to have CAP_SYS_RAWIO to call this
function so the bug is not as serious as it could be.
Fixes:
|
||
---|---|---|
.. | ||
chrome | ||
goldfish | ||
mips | ||
olpc | ||
x86 | ||
Kconfig | ||
Makefile |