Commit Graph

147571 Commits

Author SHA1 Message Date
christos 180ca89a2b Coverity CID 3195: ifdef out dead code. 2006-05-25 01:58:39 +00:00
christos e30bfd160d Coverity CID 3396: Fix file pointer leak. 2006-05-25 01:51:21 +00:00
christos fb0d335338 Coverity CID 3377: Fix memory leak on error. 2006-05-25 01:49:30 +00:00
christos d8050237b6 Coverity CID 1188: Don't check for NULL just to log and then die
de-referencing; return instead.
2006-05-25 01:44:28 +00:00
christos 4aafa6340a Coverity CID 1189, 1190: Don't check for NULL just to log and then die
de-referencing; return instead.
2006-05-25 01:43:58 +00:00
christos 6388d5cc98 Coverity CID 1191, 1192: Don't check for NULL allocation, just to log it
and then die dereferencing. Return instead.
2006-05-25 01:41:13 +00:00
christos 43c323928f Coverity CID 2718: Avoid using free'd memory. 2006-05-25 01:38:41 +00:00
wrstuden d6dd729f42 Add $NetBSD: ids, which work better than $netbsd: ones. 2006-05-25 01:37:08 +00:00
christos 76c4e27a2a Coveriy CID 797: Avoid NULL deref. 2006-05-25 01:22:53 +00:00
christos c94cfed796 Coverity CID 2282: Fix memory leak. 2006-05-25 01:20:21 +00:00
christos 64274c3774 Coverity CID 754: Fix erroneous check. How could this ever work? 2006-05-25 01:18:59 +00:00
christos c0dd54b15c Coverity CID 3214: Check getrawpartition return code. 2006-05-25 00:42:23 +00:00
christos dc46554fdb Document that this can fail. 2006-05-25 00:41:24 +00:00
christos 2046b10b5b Coverity CID 601: Remove unused code. 2006-05-25 00:37:03 +00:00
christos 75aa3e0d4e Coverity CID 3308: Free the head of the group list, not the tail. 2006-05-25 00:33:24 +00:00
christos bd00756294 Coverity CID 2524: Return error instead of trying to allocate random bytes
from the stack.
2006-05-25 00:27:56 +00:00
christos 323f38bde6 Coverity CID 2751: Avoid NULL deref. 2006-05-25 00:25:00 +00:00
christos ddd7ee439d Coverity CID 830: Avoid NULL deref. 2006-05-25 00:21:52 +00:00
wrstuden b949192d0f Style changes from simonb at wasabisystems dot com:
Use config_stdsubmatch() instead of our own submatch function.
  Use "__inline" in header files and "inline" in .c files.
  Make some local function static.
2006-05-25 00:21:45 +00:00
christos ede17ba69d Coverity CID 3322: Fix memory leak. 2006-05-25 00:19:27 +00:00
christos dabaab767f Coverity CID 1463: Change code to unconfuse coverity. 2006-05-25 00:16:48 +00:00
christos 4eb1ef0701 PR/3205: Remove dead code. 2006-05-25 00:12:31 +00:00
christos 2a8477a7f9 Coverity CID 1860: Plug memory leak. 2006-05-25 00:07:59 +00:00
christos aa0a3ef501 Sprinkle static and use err/errx/warn instead of fprintf/perror 2006-05-25 00:05:45 +00:00
christos d62ef54061 Coverity CID 1442: Update the table, and use the table size instead of
hard-coded constant; fixes static buffer overflow.
2006-05-24 23:51:39 +00:00
christos 4f8217f507 Coverity CID 796: Add an extra test to pacify coverity. 2006-05-24 23:44:34 +00:00
wrstuden a4dd1e2635 3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.
2006-05-24 23:44:28 +00:00
christos aecdec648e Coverity CID 834: Add a test to pacify coverity. 2006-05-24 23:43:11 +00:00
christos 84a9244669 Coverity CID 1753: don't leak fp's. 2006-05-24 23:41:44 +00:00
christos ecae799d9b Coverity CID 803, 804, 805: Avoid NULL deref. 2006-05-24 23:34:59 +00:00
christos 2c895a14eb mention config hack. 2006-05-24 23:18:56 +00:00
christos f81561404f deal with the vax gcc that does not understand __attribute__ used. 2006-05-24 23:16:50 +00:00
yamt a53726f2a7 kauth_cred_uucmp: fix inversed return code. PR/33546 from Juan RP. 2006-05-24 23:00:49 +00:00
christos 6968fdf466 Coverity CID 1464: fix static overrun by returning an error. 2006-05-24 22:30:15 +00:00
christos 0b53fe2b9f Coverity CID 3233: Be nice and close the file you opened. 2006-05-24 22:08:53 +00:00
christos 675ee2be81 Coverity CID 2460,2459,2458,2457: Don't allocate smaller chunks, it is not
worth it, and it makes coverity mad. Also check the return of malloc, and
allocate using variables instead of types as the sizeof arg.
2006-05-24 22:07:42 +00:00
christos 10dfada83b Coverity CID 1321: False -gative detection. 2006-05-24 21:47:25 +00:00
christos 2a741c25dc Coverity CID 3777: Free envp in the success case too. 2006-05-24 21:43:43 +00:00
christos bcab7c84bf Coverity CID 3778: set tmp to NULL to shutup coverity. 2006-05-24 21:42:25 +00:00
christos bc796bc129 Coverity CID 1567: Fix memory leak. 2006-05-24 21:39:33 +00:00
mrg dca7185f31 rename the local 'devsw' to of_devsw - devsw is already defined in libsa
as an 'extern' but this one is static.
2006-05-24 21:24:25 +00:00
mrg 27fdcc3d32 'volatile' is not a valid return type qualifier - remove it. 2006-05-24 21:22:36 +00:00
mrg 16c4e2e447 generate new libobjc4 files and regenerate many many others.
XXX: re-running "make native-gcc" some times causes the
XXX: gcc/configure test for COMDAT groups to fail.  a fresh
XXX: configure (ie, with no objdir/.native tree yet) seems to
XXX: fix this.  right now mipsel and alpha have the wrong
XXX: definition in the checked in auto-host.h.
2006-05-24 21:20:32 +00:00
perseant 402f3abc7a Read the inode version number fro a more reliable source, quelling a
diagnostic assertion panic.
2006-05-24 21:08:00 +00:00
mrg 7a25dd1dc9 in the NETBSD_NATIVE case, don't set a default GCC_EXEC_PREFIX. just add
standard_libexec_prefix to the exec_prefixes for "GCC".  this avoids a
"-iprefix /usr/bin/../libexec/" being passed to cc1* and those searching
in /usr/bin/../libexec/include{,bits/,g++} for headers.
2006-05-24 20:52:14 +00:00
christos 16aa23f5c3 sort static and non-static decls. 2006-05-24 18:06:58 +00:00
christos 8d1d34adc0 - ansi prototypes
- sprinkle static
No functional change (just smaller binary because of unused functions)
2006-05-24 18:01:43 +00:00
christos 42df83a697 Coverity CID 3337: Close file before returning. 2006-05-24 16:57:12 +00:00
oster 4f500646a9 Add a missing ')' to fix the example code. Already fixed in openssl upstream. 2006-05-24 16:44:34 +00:00
christos 04e2c897d2 Coverity CID 3510: Don't leak memory. 2006-05-24 16:43:35 +00:00