Commit Graph

145972 Commits

Author SHA1 Message Date
christos
c591e825ed Coverity CID 1161: Protect against NULL deref or mbuf, by returning EINVAL. 2006-04-14 23:31:33 +00:00
christos
6d29e52f5a Coverity CID 1160: Fix obvious bug introduced with m_len... 2006-04-14 23:25:46 +00:00
christos
519309ea6e Coverity CID 1154: Prevent NULL deref. 2006-04-14 23:17:24 +00:00
christos
ce9b807645 Coverity CID 1089: Add more KASSERTs to prevent NULL deref. 2006-04-14 23:15:21 +00:00
christos
ff57dc92a8 Coverity CID 1088: Add KASSERT to prevent NULL pointer deref. 2006-04-14 23:12:14 +00:00
christos
0f609f1bfa Coverity CID 738: Fix the query size vs. result returning setup. 2006-04-14 23:09:16 +00:00
christos
d45bdd8edd Coverity CID 1096: l cannot be NULL for USER traps. Add KASSERT for it. 2006-04-14 22:55:32 +00:00
christos
c8814860e9 Coverity CID 1095: p cannot be NULL for user traps. Add KASSERT. 2006-04-14 22:53:53 +00:00
christos
407368a46e Coverity CID 2453: Add negative checks. 2006-04-14 22:52:00 +00:00
christos
24f5b2aec3 Coverity CID 1127: Prevent NULL deref. 2006-04-14 22:43:12 +00:00
christos
4d098765d0 Turn on RAID KASSERTS if __COVERITY__ 2006-04-14 22:40:09 +00:00
christos
3456153a3d Coverity CID 2467: Check that we actually initialized addr before returning it. 2006-04-14 22:32:14 +00:00
christos
0310ff8964 Coverity CID 1542: Off by one in test. 2006-04-14 22:30:13 +00:00
christos
84d09c873a Coverity CID 1356: Add KASSERT for NULL deref. 2006-04-14 22:25:42 +00:00
christos
df1efb824a Coverity CID 1122: Add KASSERT to clarify this NULL deref can't happen. 2006-04-14 22:23:52 +00:00
christos
0830ad8bf0 Coverity CID 1094: Protect against NULL deref. 2006-04-14 22:06:41 +00:00
christos
41d5f0d550 Coveriry CID 733: Remove dead code. 2006-04-14 22:05:07 +00:00
christos
1c2c11fc00 Remove dead code. 2006-04-14 22:03:18 +00:00
christos
986cf947f1 Coverity CID 715: Remove dead code. 2006-04-14 22:00:14 +00:00
christos
5e10a3922a Coveriry CID 565: Remove bogus test. 2006-04-14 21:58:25 +00:00
christos
d9cf854027 On second thought, the whole statement is wrong. 2006-04-14 21:53:40 +00:00
christos
69283d75e0 Coverity CID 723: Fix bogus test. 2006-04-14 21:51:35 +00:00
christos
db694f7eca Coverity CID 1104: Return early if no mbuf. 2006-04-14 21:49:08 +00:00
christos
fc1743863a Coverity CID 1120: Avoid NULL deref. 2006-04-14 21:47:04 +00:00
christos
b374745c63 Coverity CID 1121: Avoid NULL deref. 2006-04-14 21:44:18 +00:00
christos
a67bc54699 Coverity CID 727: Comment out dead code. 2006-04-14 21:42:37 +00:00
christos
919b776cba Coverity CID 2696: Don't use SLIST_FOREACH when freeing elements. 2006-04-14 21:39:50 +00:00
christos
7a83393454 Coverity CID 1118: Protect NULL deref. 2006-04-14 21:22:26 +00:00
christos
c56f241b01 Coverity CID 2501: Make it painfully obvious that memh is initialized. 2006-04-14 21:12:00 +00:00
christos
a5fe7389ec Coverity CID 720: Remove dead code. 2006-04-14 21:06:47 +00:00
christos
62070a9393 Coverity CID 1091: Avoid NULL deref by moving offending code inside if
statement.
2006-04-14 20:56:26 +00:00
christos
8b8ee40c22 Coverity CID 1092: Get the status earlier to avoid NULL deref. 2006-04-14 20:53:38 +00:00
christos
1882f76728 Coverity CID 1099: Don't deref NULL if !DIAGNOSTIC 2006-04-14 20:51:41 +00:00
christos
fa0ae9e82b Coverity CID 1531: Clarify why we cannot overrun static here, and use
__arraycount() instead of #define constant.
2006-04-14 20:48:53 +00:00
christos
b7f5449dce Coverity CID 1534: Fix bogus code and array overruns. 2006-04-14 20:43:11 +00:00
christos
a66f866e5e Coverity CID 726: Remove bogus test. ni was checked for not NULL lines above,
and the if condition tries to free ni!
2006-04-14 20:33:57 +00:00
christos
838d9e686d Coverty CID 1317: Avoid negative index. 2006-04-14 20:31:28 +00:00
christos
bdbf984fe7 Coverity CID 725: Remove dead code. 2006-04-14 20:20:33 +00:00
christos
e35ee08ce3 Coverity CID 1532: Off-by-one array overrun. 2006-04-14 20:17:34 +00:00
christos
31535ad130 Coverity CID 1081: Avoid NULL deref. 2006-04-14 20:16:02 +00:00
christos
aa3bd36319 Coverity CID 2465: Fix uninitialized variable. XXX: cardbus_mapreg_map()
never fails (even when it does not find memory). Perhaps it should?
2006-04-14 20:07:37 +00:00
christos
bb2402826a Coverity CID 1540: Avoid array overrun 2006-04-14 19:56:40 +00:00
christos
0b7afdf301 Coverity CID 1535: Avoid reading past the end of arrays because we don't
pay proper attention to the number of logical drives each controller can
support.
2006-04-14 19:51:21 +00:00
christos
eeb80698dd Coverity CID 1537: Make it clear to coverity that there is no overflow. 2006-04-14 19:33:12 +00:00
christos
9bada1d31d Coverity CID 1538: Avoid array overrun. 2006-04-14 19:25:37 +00:00
perseant
e6c59c133f Make a note of recent LFS improvements. 2006-04-14 19:21:15 +00:00
christos
1ad1deedf5 Coverity CID 1102: Make the code more coverity friendly. 2006-04-14 19:08:30 +00:00
christos
8b787180c1 Coverity CID 1539: Remove bogus test that caused array overrun. 2006-04-14 19:03:32 +00:00
christos
63a52e1ca5 Coviery CID 1108: Avoid NULL pointer deref. 2006-04-14 18:54:51 +00:00
christos
abb62e86a3 Coverity CID 1105: Avoid NULL deref. 2006-04-14 18:50:18 +00:00