Tag: 7424a0609063826a60a933ace872a1e747dfeede

staging: rtl8188eu: core: fix null dereference on exit path in rtw_mlme.c

Author: Jiayi Ye <yejiayily@gmail.com> If adapter is null, null dereference may occur. This patch fixes it. The following Coccinelle semantic patch was used to find the case. @@ expression E, E1; identifier f; statement S1,S2,S3; @@ * if (E == NULL) { … when != if (E == NULL) S1 else S2 when != E …

Continue reading