git: iscsi_initiator(4): Fix another potential NULL pointer dere

看板DFBSD_commit作者時間15年前 (2010/08/30 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit a08a53fe13bd24a10b1a3fdf7ce09939b56ccaa6 Author: Sascha Wildner <saw@online.de> Date: Sun Aug 29 21:24:09 2010 +0200 iscsi_initiator(4): Fix another potential NULL pointer dereference. so (which is sp->soc) can be NULL here, so add a check before dereferencing it. Summary of changes: sys/dev/disk/iscsi/initiator/isc_soc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a08a53fe13bd24a10b1a3fdf7ce09939b56ccaa6 -- DragonFly BSD source repository
文章代碼(AID): #1CUhMsZi (DFBSD_commit)