jnemeth
|
f358706242
|
Fix Coverity run 5, issue 2498 -- uninitialized variable
Fix Coverity run 5, issue 707 -- unreachable code
Approved by Christos.
|
2006-03-18 10:06:16 +00:00 |
christos
|
6edcc275a1
|
Coverity CID 2297: Fix memory leak.
|
2006-03-18 09:51:08 +00:00 |
christos
|
22983123c5
|
Coverity CID 2341, 2342: Plug memory leak.
|
2006-03-18 09:46:35 +00:00 |
rtr
|
969e2244d4
|
fclose() open FILE * even though we are returning to fail anyway.
silences coverity, CID 1590 / run 5
|
2006-03-18 09:40:46 +00:00 |
christos
|
a46f31170d
|
Coverity CID 1668: Plug memory leak.
|
2006-03-18 09:31:36 +00:00 |
kardel
|
58ad32062f
|
Coverity NetBSD scan CID 2055: fallout fix return/fclose -> fclose/return
|
2006-03-18 09:28:50 +00:00 |
christos
|
c66ab9a1d0
|
Coverity CID 1666: Plug memory leak.
|
2006-03-18 09:28:23 +00:00 |
kardel
|
e13d171a8e
|
resource leak (fd/mem): fclose() streams on error (Coverity NetBSD scan CID 2055)
|
2006-03-18 09:26:08 +00:00 |
christos
|
c5f39d86c2
|
Coverity CID 1667: Plug memory leak
|
2006-03-18 09:19:02 +00:00 |
christos
|
53c1263c37
|
Coverity CID 1662: Memory leak.
|
2006-03-18 09:15:57 +00:00 |
christos
|
87113ce74b
|
Coverity CID 597: remove dead code.
|
2006-03-18 09:09:41 +00:00 |
christos
|
78f7dbe212
|
Coverity CID 1216: Prevent negative index use.
|
2006-03-18 09:07:05 +00:00 |
christos
|
62bb88223c
|
Coverity CID 806: Prevent NULL deref
|
2006-03-18 09:02:08 +00:00 |
kardel
|
589ea6e802
|
resource leak (fd/mem): close stream when errors occur (Coverity NetBSD Scan CID 2054)
|
2006-03-18 08:57:25 +00:00 |
dsl
|
df7e187ccb
|
Appease Coverty CID 7449. Avoid close(-1) in error path.
|
2006-03-18 08:36:50 +00:00 |
kardel
|
862343544d
|
resolve CID 808 for the general case (code didn't trigger it - constant strings were supplied )
|
2006-03-18 08:09:03 +00:00 |
tsutsui
|
969544860e
|
Don't put .reginfo into .bss but prepare an independent section for it
so that new ld(1) no longer dies on link as PR/33011.
Still ld(1) coredump problem should be fixed, IMO.
|
2006-03-18 07:29:53 +00:00 |
simonb
|
6c79cda5ae
|
Coverity CID 2466 - Fix a GCC uninitialised variable warning in a way
that (hopefully!) keeps coverity happy too.
|
2006-03-18 07:27:50 +00:00 |
christos
|
bb7bab2df4
|
Coverity CID 877: Prevent NULL deref.
|
2006-03-18 07:24:40 +00:00 |
christos
|
c8a3069e94
|
Coverity CID 1484: Static buffer overrun.
|
2006-03-18 07:23:07 +00:00 |
christos
|
3cf8c179a3
|
Coverity CID 1763: Plug memory leak.
|
2006-03-18 07:09:08 +00:00 |
christos
|
e889898c95
|
Coverity CID 1766: Plug memory leak.
|
2006-03-18 07:02:16 +00:00 |
christos
|
f3ffb9c969
|
Coverity CID 1760: Plug memory leak.
|
2006-03-18 06:54:46 +00:00 |
christos
|
4d7c6251da
|
Coverity CID 1228: protect against calling close with negative value.
|
2006-03-18 06:29:21 +00:00 |
christos
|
dcfc467f4d
|
Coverity CID 872: Possible NULL deref.
|
2006-03-18 06:24:26 +00:00 |
rumble
|
43d45c06c6
|
Note that for asprintf and vasprintf it is more portable to check for
a -1 return, rather than ret being set to NULL on error.
From Otto Moerbeek.
|
2006-03-18 05:46:04 +00:00 |
christos
|
ee17e957e3
|
Coverity CID 343: Rework code so that we don't write after the end of the
array. The end effect is the same though.
|
2006-03-18 05:43:47 +00:00 |
christos
|
2ed09657c9
|
Coverity CID 345: Add missing free's.
|
2006-03-18 05:40:28 +00:00 |
christos
|
eb903308f2
|
Coverity CID 1559: Fix memory leak.
|
2006-03-18 05:33:31 +00:00 |
christos
|
3e359756c9
|
Coverity CID 620: Remove dead code.
|
2006-03-18 05:25:56 +00:00 |
christos
|
f6828859fa
|
Coverity CID 890: Possible NULL pointer deref.
|
2006-03-18 05:23:08 +00:00 |
christos
|
169a269417
|
Coverity CID 1329: Possible NULL deref.
|
2006-03-18 05:17:36 +00:00 |
rtr
|
0c0f6ae5dc
|
don't access out of bounds element of static alloc array.
found by Coverity, CID 1519 / Run 5
XXX possible that intention was to start with i = 0.
|
2006-03-18 05:16:46 +00:00 |
ginsbach
|
f127f217fb
|
Fix Coverity CID 1863, 1864; resource leak, bp not freed when !okname()
before function return and/or bp overwritten by malloc().
|
2006-03-18 04:44:49 +00:00 |
christos
|
f5b7b11e49
|
Coverity CID 346: Double free.
|
2006-03-18 04:41:57 +00:00 |
christos
|
a7e5a4a743
|
Coverity CID 347: remove dead code.
|
2006-03-18 04:39:50 +00:00 |
christos
|
dee21a2f06
|
Coverity CID 586: Remove dead code.
|
2006-03-18 04:34:41 +00:00 |
elad
|
6dceae8a70
|
Ditch the ugly hardcoded value and do proper bounds checking.
Addresses CID 1417, found by Coverity.
Hi Darren! is this code maintained?
|
2006-03-18 04:12:52 +00:00 |
christos
|
06b02ffc92
|
Coverity CID 1284: Handle -1 return from open(2)
|
2006-03-18 03:49:37 +00:00 |
christos
|
f5b784887f
|
Coverity CID 1462: Static buffer overrun; off by 2.
|
2006-03-18 03:45:34 +00:00 |
christos
|
16fbed8bd1
|
Coverity CID 1616: Memory leak.
|
2006-03-18 03:43:13 +00:00 |
ginsbach
|
ccae083c7b
|
Fix Coverity CID 1248, negative return from read() passed() to write()
as a large unsigned value.
|
2006-03-18 03:40:51 +00:00 |
christos
|
fd8155f293
|
Coverity CID 1617: Memory leak
|
2006-03-18 03:39:57 +00:00 |
christos
|
67c67fc5bf
|
Coverity CID 2059: Memory leak.
|
2006-03-18 03:35:41 +00:00 |
elad
|
77e1c3c1fc
|
Fix off-by-one, found by Coverity. CID 1466.
|
2006-03-18 02:35:47 +00:00 |
matt
|
ba8a81077b
|
Fix some double frees / missing frees / use after freed all
relating to _rtld_load_object. Fix Coverity CID 2601, 2600.
|
2006-03-18 02:34:30 +00:00 |
elad
|
3af85b1067
|
Fix off-by-one found by Coverity, CID 1516.
|
2006-03-18 02:15:03 +00:00 |
elad
|
d8af4d8962
|
Change MAX_BLOCKS for b_prop to MAX_PROPS, as it probably should've been.
Fixes overrun found by Coverity, CID 1550.
|
2006-03-18 02:06:38 +00:00 |
abs
|
a3edf3e145
|
If none of the boarding parties are set do not fall off the end of the
list. Addresses Coverity CID 1507. Also put pointers before shorts in
a struct rather than mixing them up
|
2006-03-18 01:43:52 +00:00 |
dogcow
|
de119fc4bd
|
in VNDIOCGET, make sure there's a valid lwp. coverity CID 837.
|
2006-03-18 01:13:24 +00:00 |