diff options
author | ariff <ariff@FreeBSD.org> | 2007-06-03 10:56:22 +0000 |
---|---|---|
committer | ariff <ariff@FreeBSD.org> | 2007-06-03 10:56:22 +0000 |
commit | d7e0dd317e778cefd5eb2237100d63c9515e7d74 (patch) | |
tree | af9d8d6a30e60d2859632a6bfde4ada021952cbe /lib/libgssapi/gss_add_cred.c | |
parent | f1272d430766538f2ffc5e528cfc1ab3e291f9c6 (diff) | |
download | FreeBSD-src-d7e0dd317e778cefd5eb2237100d63c9515e7d74.zip FreeBSD-src-d7e0dd317e778cefd5eb2237100d63c9515e7d74.tar.gz |
Insert NULL pointer checking around devclass_get_maxunit(pcm_devclass, ..) .
Things can get ugly without it due to uninitialized class. RELENG_6 need
a simmilar, but different treatment as well.
err.. perhaps we should teach devclass_get_maxunit() to return -1 ?
MFC after: 1 day
Diffstat (limited to 'lib/libgssapi/gss_add_cred.c')
0 files changed, 0 insertions, 0 deletions