Commit Graph

10799 Commits

Author SHA1 Message Date
christos
6b8123e7e5 Coverity CID 1909: Prevent memory leak. 2006-03-19 21:21:18 +00:00
christos
e5d241d0e4 Coverity CID 2480: Move variable initialization higher up to prevent
uninitialized access during error cleanup.
2006-03-19 21:15:21 +00:00
christos
81cd8f57a4 Coverity CID 2481: Move initialization of variable higher up to prevent
uninitialized access in error path.
2006-03-19 21:11:28 +00:00
christos
082737ff51 Coverity CID 2595: Don't call cc_destroy after cc_close because cc_close
free's the second argument.
2006-03-19 21:07:55 +00:00
christos
cd35252882 Use float constants! 2006-03-19 20:54:15 +00:00
christos
a42e5c8db9 Coverity CID 562: Flip the order of the if statement to prevent unreachable
code.
2006-03-19 20:46:25 +00:00
christos
fef1370818 Coverity CID 572: Comment out dead code. 2006-03-19 20:42:44 +00:00
christos
15da190f2c Coverity CID 573: Comment out unreachable code. 2006-03-19 20:41:24 +00:00
christos
4696019f20 Coverity CID 574: Unreachable code due to incorrect constants. Correct
constants according to the comments in the code, and add more comments.
2006-03-19 20:39:48 +00:00
christos
3511ea5c9b Coverity CID 575: comment out dead code. 2006-03-19 20:15:07 +00:00
christos
2ca947f5e7 Coverity CID 107[123]: Leave the assertions in the code, not only when DEBUG
is set.
2006-03-19 20:08:09 +00:00
christos
51566e9c85 Coverity CID 1553: Fix memory leak. While here, fix malloc calls:
- don't cast
- use sizeof(var) instead of sizeof(type)
2006-03-19 20:02:27 +00:00
christos
f017961ddf Coverity CID 828: Add an assertion to validate that activeq is initialized;
while here simplify code.
2006-03-19 19:57:22 +00:00
christos
14339635d2 restore struct des_ks_struct used by krb4. Nothing uses it here, so GC it
when KRB4 is ejected.
2006-03-19 19:39:26 +00:00
christos
e1b2ea7ce9 Change des_key_schedule to be an array of DES_LONG instead of abusing
struct and union semantics.
2006-03-19 19:35:00 +00:00
bouyer
4fd105ebad libkadm5srv and libkadm5clnt uses libhdb, add a .WAIT. 2006-03-19 15:10:19 +00:00
wiz
cfed86b6c3 Mark up NULL and -. 2006-03-19 10:46:21 +00:00
jnemeth
0c47a67596 Fix coverity run 5, issue 2018 -- memory leak.
Approved by christos.
2006-03-19 06:52:26 +00:00
christos
dcd8e4c853 remove unused label. 2006-03-19 04:43:17 +00:00
christos
def2a8d763 revert previous error check. 2006-03-19 04:17:42 +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
christos
15cc8e46f6 Coverity CID 1439: Prevent array index out of bounds access. 2006-03-19 01:55:48 +00:00
christos
e9e2c8e419 Coverity 1552: Don't leak memory. 2006-03-19 01:53:11 +00:00
christos
3040914cf6 Coverity CID 1560: Don't leak memory when multiple currency symbols are present 2006-03-19 01:50:49 +00:00
christos
039456c06d Coverity CID 2275: Avoid memory leak on error. 2006-03-19 01:46:38 +00:00
christos
66ad4bce4f Coverity CID 2276: Don't leak memory on error. 2006-03-19 01:44:48 +00:00
christos
cd29290e3d Coverity CID 2277: Don't leak memory on error. 2006-03-19 01:43:11 +00:00
christos
6beb2a5c7e Coverity 2278: Avoid leak on allocation failure. 2006-03-19 01:41:43 +00:00
christos
642f32cf85 Coverity CID 2283: Don't leak sys_auth on error. 2006-03-19 01:40:09 +00:00