]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Fix a potential NULL pointer reference. Note that this should not happen in
authorUlf Lilleengen <lulf@FreeBSD.org>
Tue, 25 Nov 2008 20:28:33 +0000 (20:28 +0000)
committerUlf Lilleengen <lulf@FreeBSD.org>
Tue, 25 Nov 2008 20:28:33 +0000 (20:28 +0000)
commit251048a1abbf2940e0d43aba9eec2fe83fe01c83
treebe696f3e2a655192f790a82d161fd1d98c3b025b
parent79dae0aa0bdae8ec9b178d9365c98505ea785407
- 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
sys/geom/geom_ccd.c