summaryrefslogtreecommitdiff
path: root/CREDITS
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2010-05-27 16:32:09 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-05 00:16:19 +0400
commit109f34e71b9049a57f6cdf3f1da6bee2b722b259 (patch)
treefc81ea178fc4a885fecc476aaf47089923f2eeb8 /CREDITS
parent1f23b2d98c11fed43c552a5dbd00c793f81a8736 (diff)
downloadlinux-109f34e71b9049a57f6cdf3f1da6bee2b722b259.tar.xz
USB: serial: digi_acceleport: Eliminate a NULL pointer dereference
If port is NULL, then the call to dev_err will dereference a value that is a small offset from NULL. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r exists@ expression E,E1; identifier f; statement S1,S2,S3; @@ if ((E == NULL && ...) || ...) { ... when != if (...) S1 else S2 when != E = E1 * E->f ... when any return ...; } else S3 // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions