Commit Graph

144714 Commits

Author SHA1 Message Date
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
christos
15cc8e46f6 Coverity CID 1439: Prevent array index out of bounds access. 2006-03-19 01:55:48 +00:00
sjg
98b766c482 Fix :P modifier so it actually works as described.
I.e ${var.c:P} should expand to the absolute path of var.c found via .PATH
2006-03-19 01:54:21 +00:00
christos
e9e2c8e419 Coverity 1552: Don't leak memory. 2006-03-19 01:53:11 +00:00
sjg
8af5ec82ab Document an interesting kwirk in := handling of undefined variables. 2006-03-19 01:53:01 +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
christos
50e6bed2e2 Coverity CID 2284: Fix multiple memory leaks. 2006-03-19 01:37:59 +00:00
christos
95f6be8b1a Coverity CID 2461: Bail out quickly instead of accessing uninitialized variables 2006-03-19 01:25:44 +00:00
christos
68259ab10a Coverity 2462: Bail out quickly instead of accessing uninitialized variables. 2006-03-19 01:24:09 +00:00
christos
f2194f03cc Coverity CID 2463: Bail out instead of accessing uninitialized variables. 2006-03-19 01:21:28 +00:00
christos
5bd7f658fe Coverity CID 2464: Don't use uninitialized variables; exit with error quickly. 2006-03-19 01:19:32 +00:00
christos
adcc2139d9 Coveriry CID 2472: If the number of bits is invalid, return immediately
instead of accessing uninitialized variables.
2006-03-19 01:17:30 +00:00
christos
f174420e75 Coverity CID 2473: Fix uninitialized variable reference. 2006-03-19 01:15:06 +00:00
christos
7ac9949871 Coverity CID 2528: Don't delete the node we are about to return. 2006-03-19 01:12:08 +00:00
christos
e92d4ac1fa Coverity CID 1197: Don't pass -1 to close. 2006-03-19 01:00:35 +00:00
christos
4140928aa1 Coverity CID 1467: Elide static buffer overflow. 2006-03-19 00:56:12 +00:00
christos
989c7cd825 Coverity CID 868: Fix possible NULL deref (after INFTIM passes :-) 2006-03-19 00:50:28 +00:00
christos
2197ff9156 Coverity CID 980: Prevent an impossible NULL point deref. 2006-03-19 00:41:46 +00:00