IRDA: irda_create() nuke user triggable printk
Subsystems (2)
PATCH 1/1 IRDA: irda_create() nuke user triggable printk
easy to trigger as user with sfuzz.
irda_create() is quiet on unknown sock->type, match this behaviour for SOCK_DGRAM unknown protocol
Signed-off-by maximilian attems <[email protected]>
--- net/irda/af_irda.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
net/irda/af_irda.c +0 -2
@@ -1118,8 +1118,6 @@ static int irda_create(struct net *net, struct socket *sock, int protocol) self->max_sdu_size_rx =TTP_SAR_UNBOUND ;break ;default : -IRDA_ERROR ("%s: protocol not supported!\n" , - __FUNCTION__);return -ESOCKTNOSUPPORT ; }break ;
Signature · 1 line
debian.1.5.3.7.1-dirty
From: maximilian attems <[email protected]>
Date: Mon, 7 Jan 2008 01:34:32 +0100
Quoted 6 lines
easy to trigger as user with sfuzz.
irda_create()is quiet on unknownsock->type, match this behaviour forSOCK_DGRAMunknown protocolSigned-off-by maximilian attems <[email protected]>
Applied, thanks.