bluetooth: Check for NULL pointers in input args
There is a possibility that line discipline recieves data before
variable proto is set which leads to kernel crash.
Check if proto is valid.
Change-Id: I09e4ca692ccef6dcc2f0acd78ce3847878d17188
Signed-off-by:
Rupesh Tatiya <rtatiya@codeaurora.org>
Loading
Please register or sign in to comment