Tag: 33c7da0590d4e9e7420f8cf50722c4fe6932218f

[SCSI] bnx2fc: Remove potential NULL dereference

Author: Julia Lawall <Julia.Lawall@lip6.fr> If the NULL test is necessary, the initialization involving a dereference of the tested value should be moved after the NULL test. The sematic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ type T; expression E; identifier i,fld; statement S; @@ – T i = E->fld; + T …

Continue reading