Date: Tue, 25 Nov 2008 20:28:33 +0000 (UTC) From: Ulf Lilleengen <lulf@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/geom geom_ccd.c Message-ID: <200811252028.mAPKSlS7007336@repoman.freebsd.org>
index | next in thread | raw e-mail
lulf 2008-11-25 20:28:33 UTC
FreeBSD src repository
Modified files:
sys/geom geom_ccd.c
Log:
SVN rev 185318 on 2008-11-25 20:28:33Z by lulf
- Fix a potential NULL pointer reference. Note that this should not happen in
practice, but it is a good programming practice and allows the kernel to not
depend on userland correctness.
- While there, make sizeof usage match the rest of the code.
Found with: Coverity Prevent(tm)
CID: 660, 662
Revision Changes Path
1.157 +17 -1 src/sys/geom/geom_ccd.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811252028.mAPKSlS7007336>
