Date: Wed, 24 Nov 2010 21:54:45 +0000 (UTC) From: Bruce Cran <brucec@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/sysinstall dispatch.c Message-ID: <201011242154.oAOLsuLl009733@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
brucec 2010-11-24 21:54:45 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) usr.sbin/sysinstall dispatch.c Log: SVN rev 215805 on 2010-11-24 21:54:45Z by brucec MFC r215637: dispatch_add_command: Modify the logic so there's only one exit point instead of two. Only insert valid (non-NULL) values into the queue. dispatch_free_command: Ensure that item is not NULL before removing it from the queue and dereferencing the pointer. NULL out free'd pointers to catch any use-after-free bugs. PR: bin/146855 Submitted by: gcooper Revision Changes Path 1.53.2.2 +23 -9 src/usr.sbin/sysinstall/dispatch.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011242154.oAOLsuLl009733>