Re: [PATCH] irda: do not leak initialized list.dev to userspace

2017-08-18 Thread David Miller
From: Colin King Date: Thu, 17 Aug 2017 23:14:58 +0100 > From: Colin Ian King > > list.dev has not been initialized and so the copy_to_user is copying > data from the stack back to user space which is a potential > information leak. Fix this ensuring all of list is initialized to > zero. > > D

[PATCH] irda: do not leak initialized list.dev to userspace

2017-08-17 Thread Colin King
From: Colin Ian King list.dev has not been initialized and so the copy_to_user is copying data from the stack back to user space which is a potential information leak. Fix this ensuring all of list is initialized to zero. Detected by CoverityScan, CID#1357894 ("Uninitialized scalar variable") S