Skip to content
Commit 9e5f1721 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

yam: integer underflow in yam_ioctl()



We cap bitrate at YAM_MAXBITRATE in yam_ioctl(), but it could also be
negative.  I don't know the impact of using a negative bitrate but let's
prevent it.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dbbd2ad8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment