summaryrefslogtreecommitdiffstats
path: root/Documentation/pti
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2011-10-29 01:58:13 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-26 17:19:23 -0800
commit7c19c1e80d348a5c79b65f9fc3d54bbbeea9cd0f (patch)
tree7849154a8e2bfb6c6b337643a9b65b6e6dd0db85 /Documentation/pti
parent7990b0d7ec449b10da383bab191eb487185aadce (diff)
downloadop-kernel-dev-7c19c1e80d348a5c79b65f9fc3d54bbbeea9cd0f.zip
op-kernel-dev-7c19c1e80d348a5c79b65f9fc3d54bbbeea9cd0f.tar.gz
drivers/staging/rtl8712/rtl871x_mlme.c: eliminate a null pointer dereference
If ibss_wlan is NULL, it is not correct to memcpy into its field. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ expression E, E1; identifier f; statement S1,S2,S3; @@ if (E == NULL) { ... when != if (E == NULL || ...) 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: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/pti')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud