147542 Commits

Author SHA1 Message Date
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
christos
a740c3d0aa Coverity CID 3204: The USE_SLEEP case can close the fp, and break does
not break from the loop, only from the switch. Make it break from the
loop to avoid a NULL pointer dereference.
2006-05-24 16:34:25 +00:00
garbled
1f280c6eaf Add a small convenience function 2006-05-24 16:10:18 +00:00
christos
a52c240b50 Coverity CID 2285: in the dump and dumpshort case, don't trash head so that
we can free the memory later.
2006-05-24 16:04:03 +00:00
christos
cd2ccbaf94 Coverity CID 3212: Don't return, goto out in all cases so that cleanup
happens.
2006-05-24 15:59:06 +00:00
christos
4871d79cb7 Coverity CID 3318: Remove stray semicolon that caused close to be called
unintentionally.
2006-05-24 15:53:21 +00:00
liamjfoy
d8d9494bf9 Add a check for our own advertisements. This is due to non-simplex
interfaces which received the packets they have just sent.

From: OpenBSD (rev. 1.124)
ok: christos@
2006-05-24 13:39:37 +00:00
yamt
1a4039e6b0 yamt-pdpolicy; new base 2006-05-24 11:03:28 +00:00
jnemeth
c287edd2a0 Coverity CID 3610: derefencing NULL pointer. 2006-05-23 23:59:48 +00:00
jnemeth
13eb323a11 Coverity CID 3447: Add extraneous checks to shut up Coverity. 2006-05-23 22:35:20 +00:00
peter
a3fa0e8e3f Initialize h4 and h6 to NULL.
Fixes a panic reported by Mipam on -current-users.
2006-05-23 22:24:32 +00:00
jnemeth
34d9535669 Coverity CID 829: Possible dereference of NULL pointer. 2006-05-23 21:52:55 +00:00
bouyer
b06932d37f Add a network backend driver for Xen3. This will appear as a xvif pseudo
device in kernel config files.
2006-05-23 21:10:42 +00:00
bouyer
a4fe55530f Don't forget to softintr_disestablish() when destroying a xvif. 2006-05-23 21:09:37 +00:00
bouyer
237137c875 Add needed framework for backend drivers.
As we want some control on the name the backend driver will have we
can't use autoconf(9) here. Instead backend drivers registers to
xenbus, which will call a create callback when a new device is there.
Backend devices won't have a "struct device" in xenbus, use a void pointer
instead.
2006-05-23 21:07:56 +00:00
gdamore
86b54ed307 Increase size of embedded symbol table. 2006-05-23 20:28:05 +00:00
mrg
512fbc0a03 - include <stdlib.h> and <string.h> where appropriate
- s/void volatile/void/ for a funtion return type
2006-05-23 20:11:10 +00:00
mrg
0f0f2b4e93 in _rtld_bind() initialise new_value for GCC4. 2006-05-23 16:27:41 +00:00
rpaulo
f6e31a1aa2 Fix carp_stats() prototype location.
Noticed by Iain Hibbert.
2006-05-23 14:31:11 +00:00
rpaulo
ff3f0e34cc In ip6_savecontrol(), ignore IPv4 packets.
From JINMEI Tatuya (KAME). Should fix PR 33269.
2006-05-23 14:20:56 +00:00
mrg
5eebeb71e5 generate options.h like we do for gcc4/backend. so far only seems to
be strictly necessary for powerpc so allow the old MI defs.mk to be
used if a MD one does not exist.  when all platforms are regenerated
this support can be removed along with libobjc4/defs.mk.
2006-05-23 10:59:03 +00:00
mrg
445a28d54e also grab ALL_OPT_FILES from gcc/Makefile for libobjc4. 2006-05-23 10:55:55 +00:00
pavel
8f6c91f9fd Enable the gsip driver. Worked when I (lightly) tested it.
No objections on port-sgipips@.
2006-05-23 08:18:35 +00:00
christos
4c1a6c8705 Coverity CID 3671: Cast close to void and don't close negative fds. 2006-05-23 01:36:36 +00:00
uwe
828f707790 Add more "static" so that only j6x0tp_ca (and j6x0tp_debug) are visible. 2006-05-23 01:34:49 +00:00
christos
1dc235cd39 Coverity CID 2448: Remove extra NULL check. 2006-05-23 01:29:31 +00:00
christos
ae76bda7d7 Coverity CID 3227, 3226: Don't leak fd's 2006-05-23 01:23:49 +00:00
christos
ce35e5d7d7 Coverity CID 1567: Don't leak memory. 2006-05-23 01:18:19 +00:00
christos
1c2d89173e Coverity CID 2534: Avoid use after free; this cannot really happen, but
coverity cannot figure it out.
2006-05-23 01:16:33 +00:00
christos
1fc5ea78ff Coverity CID 3184: Don't dereference NULL 2006-05-23 01:11:12 +00:00