Commit Graph

146159 Commits

Author SHA1 Message Date
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
christos 7881347975 Coverity CID 2314: Free memory if we fail to allocate rings. 2006-04-14 18:45:53 +00:00
riz b602094b15 Fix some RCS IDs, and the comments including them. 2006-04-14 18:38:50 +00:00
christos 147a6ae8fb If __COVERITY__ is defined, turn on KASSERT and _DIAGASSERT. 2006-04-14 18:24:56 +00:00
christos 53daf02156 Coverity CID 1103: Avoid NULL pointer deref. 2006-04-14 17:58:01 +00:00
christos cbf7d00ad2 Coverity CID 2439: Remove bogus test. 2006-04-14 17:54:26 +00:00
christos 7fad94d825 Coverity CID 1111: Fix cut'n'paste bug! 2006-04-14 17:50:27 +00:00
christos 4be84f7cdb Coverity CID 1112: If we did not get a packet, bail out early. 2006-04-14 17:46:29 +00:00
christos af27d5132b Coverity CID 773: Add a KASSERT to appease coverity. 2006-04-14 17:42:29 +00:00
christos c6bb3943dd Coverity CID 1100: Avoid NULL pointer dereferences. 2006-04-14 17:36:51 +00:00
christos 30baf54001 Coverity CID 1101: Protect against address argument being NULL. 2006-04-14 17:33:10 +00:00
christos 9a52196c1d Coverity CID 1131: Avoid NULL pointer dereference. 2006-04-14 17:27:08 +00:00
christos b6fca780b3 Coverity CID 729: Remove dead code. 2006-04-14 17:21:17 +00:00
christos 4656123e9c Use c instead of s->cur. 2006-04-14 17:18:59 +00:00