Commit Graph

144786 Commits

Author SHA1 Message Date
bouyer c2dd0a8a5e More xbd->xbd_hypervisor changes; non-Xen3 kernels build again. 2006-03-19 15:11:50 +00:00
bouyer 4fd105ebad libkadm5srv and libkadm5clnt uses libhdb, add a .WAIT. 2006-03-19 15:10:19 +00:00
he 3ac2299da5 Now that we use exit(2), we need to include <stdlib.h> for its definition. 2006-03-19 12:09:39 +00:00
martin 6f9eece7e6 Fix bus_space_read_stream*_2 accessors (pasto, proably) - this makes wi0
work on my meshcube.
2006-03-19 11:55:02 +00:00
wiz cfed86b6c3 Mark up NULL and -. 2006-03-19 10:46:21 +00:00
wiz 59ba5fe8d1 New sentence, new line. 2006-03-19 10:45:03 +00:00
yamt bd149b4812 m_copyback0:
- unify two copies of code to extend a chain.
- when extending a chain,
	- use trailing space of the last mbuf if any.
	- use mbuf cluster if appropriate.
2006-03-19 10:07:19 +00:00
christos d5b9c02e8c add a semi colon. 2006-03-19 08:00:19 +00:00
kardel dbefff2ee4 error handling: check success of open(2) - bail out early (Coverity CID 1282 NetBSD Scan 5) 2006-03-19 07:20:30 +00:00
phil 01ec6393c4 Plug resource leak. (CID 1600) 2006-03-19 07:04:06 +00:00
kardel 24781071d1 null deref: complete linked list handling beginng condition (Coverity CID 986) 2006-03-19 07:02:47 +00:00
jnemeth 0c47a67596 Fix coverity run 5, issue 2018 -- memory leak.
Approved by christos.
2006-03-19 06:52:26 +00:00
tsutsui 9834d09359 - TAB/space cleanup
- use do{}while(/*CONSTCOND*/0) for macro with multiple statements
2006-03-19 06:50:13 +00:00
tsutsui 1eda58c44f TAB/space cleanup. 2006-03-19 06:47:35 +00:00
rtr d6ba186243 avoid deref of NULL
coverity 2436 / run 6
2006-03-19 06:22:45 +00:00
tsutsui 2e1bb9e9d2 Replace MALLOC(9) with malloc(9) in non critical path. 2006-03-19 06:13:43 +00:00
rtr 739b734996 the preceeding loop does not terminate except in a condition where
kp != NULL therefore testing if kp is == NULL after it is pointless
coverity 2446 / run 6
2006-03-19 06:10:22 +00:00
christos c08f926ecb include <stdlib.h> to get a prototype for exit 2006-03-19 06:02:50 +00:00
simonb 92610d767b Use tabs instead of spaces with previous change. 2006-03-19 05:46:50 +00:00
david f16962165c Fix memory leaks when some components of a raid where missing during
autoconfig.

From Coverity CIDs 2328, 2324, 2323, 1125
2006-03-19 05:31:38 +00:00
rtr 880b6df674 avoid double fclose()
coverity 2577 / run 6
2006-03-19 05:01:48 +00:00
christos dcd8e4c853 remove unused label. 2006-03-19 04:43:17 +00:00
rtr d9da031351 remove ambiguity in evaluation of conditional expressions and avoid
double fclose().
coverity 2713 / run 6
2006-03-19 04:34:19 +00:00
christos def2a8d763 revert previous error check. 2006-03-19 04:17:42 +00:00
rtr aa6b2db95f init struct vnode *vp = NULL
coverity 2724 / run 6
XXX in future runs coverity may complain about deref NULL now but comment
    on line 382 indicates this should not be possible
2006-03-19 04:10:02 +00:00
rtr 7818c9e2d0 don't bother checking of ts == NULL before assigning since we know that
it is.
solves coverity 2725 / run 6
2006-03-19 03:58:34 +00:00
tsutsui 511236824d Fix year of the recent openpam(3) update. 2006-03-19 03:41:29 +00:00
rtr 03c7830389 retrun -> return 2006-03-19 03:36:28 +00:00
christos 23b08f8966 Coverity CID 618: Comment out dead code. 2006-03-19 03:10:08 +00:00
christos 8a8a2fc7a2 iCoverity CID 706: Remove dead code. 2006-03-19 03:08:11 +00:00
christos 28929e2bc3 Coverity CID 708: Remove dead code. 2006-03-19 03:05:57 +00:00
christos e3f25002a4 Coverity CID 590: since bdif > 0, k = bdif - 1 >= 0, so k < 0 cannot happen.
Remove dead code.
2006-03-19 03:04:04 +00:00
christos 2260be176f Coverity CID 710: Remove unreachable code. 2006-03-19 03:00:49 +00:00
christos 7f6a77ef9b Coverity CID 711: Remove dead code. 2006-03-19 02:56:48 +00:00
christos 359eb8d732 Coverity CID 571: Remove dead code. 2006-03-19 02:54:38 +00:00
christos 2b86a068b9 Coverity CID 769: Avoid NULL deref. 2006-03-19 02:51:30 +00:00
christos 3b66d5d2eb Coverity CID 770: Avoid NULL deref. 2006-03-19 02:48:30 +00:00
christos 39ff648553 Coverity CID 778: Avoid NULL deref. 2006-03-19 02:44:27 +00:00
christos 4435b15478 Coverity CID 779: Avoid NULL pointer deref. 2006-03-19 02:41:16 +00:00
christos d06c1d3e9d Coverity CID 780: Avoid NULL pointer deref. 2006-03-19 02:37:59 +00:00
christos 58a505fcfe Coverity CID 561: Remove dead code. 2006-03-19 02:33:02 +00:00
christos 8a45d1a675 Coverity CID 45: Don't try to deref NULL on error. 2006-03-19 02:30:52 +00:00
christos dfd5a33604 Coveriry CID 509: Avoid NULL pointer deref. 2006-03-19 02:25:12 +00:00
christos 854b420cd9 Coverity CID 518: Avoid NULL pointer deref. 2006-03-19 02:21:15 +00:00
christos a0357ac2d2 Coverity CID 512: Fix memory leak. 2006-03-19 02:17:16 +00:00
christos 10a8cb0e88 Coverity CID 510: Avoid uninitialized variable. 2006-03-19 02:12:09 +00:00
christos 53cd70b68b Coverity CID 508: Avoid memory leak. 2006-03-19 02:09:44 +00:00
christos 456b09ff6f Coverity CID 17: Free parent if it was not used. 2006-03-19 02:01:50 +00:00
christos c93c6166a0 Coverity CID 1246: Don't allow getc == -1 to propagate as an array index. 2006-03-19 01:58:48 +00:00
dan 1fcee3db59 close fp in several error paths, closing Coverity CIDs 1690, 1692.
"go" by go.
2006-03-19 01:57:11 +00:00