rumble
e973f66640
Gracefully handle out of memory condition.
2006-03-17 14:50:44 +00:00
rumble
2174dda221
Handle asprintf failing to allocate.
2006-03-17 14:43:11 +00:00
elad
fb41d90922
Proper bounds access, found by Coverity, CID 1470.
2006-03-17 14:40:11 +00:00
rumble
88f1652fe8
Handle asprintf returning NULL.
2006-03-17 14:37:14 +00:00
dmcmahill
de309be996
put the array bounds check _before_ accessing the array.
...
Coverity CID: 1479
2006-03-17 14:20:10 +00:00
dmcmahill
ee00225705
put the array bounds check _before_ accessing the array.
...
Coverity CID: 1480
2006-03-17 14:14:45 +00:00
elad
6ec9e1c359
Proper bounds check, found by Coverity, CID 1468.
2006-03-17 13:58:27 +00:00
rumble
3ad5f13d80
Handle malloc returning NULL.
2006-03-17 13:53:31 +00:00
gdt
81331897bb
Add wi* at pci, to make PRISM mini PCI cards work. Tested on IBM
...
Thinkpad T30 2366-97U.
2006-03-17 12:43:35 +00:00
jmcneill
e651416a9e
Add 'iic* at viapcib?', commented out.
2006-03-17 12:25:01 +00:00
jmcneill
e4e8429c20
Add (commented out) definitions of viapcib attachments.
2006-03-17 12:22:14 +00:00
jmcneill
73e1e8a116
Add support for the VIA SMBus controller found on the VT8235 PCI-ISA
...
bridge.
2006-03-17 12:19:49 +00:00
martin
8d15124682
This test is highly dependend on local configuration - note some
...
pitfalls.
2006-03-17 11:33:24 +00:00
skrll
75eb73218c
KNF
2006-03-17 11:03:07 +00:00
yamt
848da92913
make duplicated code fragments into a function, pool_grow.
2006-03-17 10:09:25 +00:00
yamt
4038c2995b
uvm_km_check_empty: fix an assertion.
2006-03-17 09:37:55 +00:00
kochi
c736436079
acpica 20060310
2006-03-17 09:14:16 +00:00
erh
8e641f354a
Found by coverity issue 887. Check for NULL before using base_ph so
...
an interpreter that does not have PT_LOAD in the program header doesn't
crash the system.
2006-03-17 08:51:35 +00:00
kleink
63c0159af3
Move struct clockinfo (KERN_CLOCKRATE sysctl) from <sys/time.h> to
...
<sys/sysctl.h>.
2006-03-17 08:50:36 +00:00
erh
e1806cf352
Fix Coverity issue 1579. Check retval from getmntopts(). Use freemntopts().
2006-03-17 06:51:00 +00:00
erh
0ca5044c4a
Fix Coverity issue 1471. Shouldn't actually be problem, but the array
...
bounds checks to figure out which signal to issue were off by one.
2006-03-17 06:31:58 +00:00
erh
a329a6a0ae
Fix Coverity issue 1754. Call fts_close() after we're done copying.
2006-03-17 06:22:30 +00:00
garbled
e50f041957
ANSIfy more code in prep.
2006-03-17 06:11:58 +00:00
jld
2e34cd0e5e
Add some missing memory barriers I noticed.
...
Discussed on port-xen.
2006-03-17 06:04:24 +00:00
erh
8ad33681f8
Fix Coverity issues 2321 and 2320. Make sure to free allocated memory.
2006-03-17 06:01:14 +00:00
garbled
6434af65ce
ANSIfy all these files.. just formatting changes.
...
Remove kbdreg.h.. this was part of pccons, and was apparently missed long
ago.
2006-03-17 05:33:33 +00:00
erh
840c5222df
Fix -uu handling so recursive updates of already installed packages work,
...
even if the initial package to install isn't installed yet.
Bump the version to 20060313.
2006-03-17 05:32:11 +00:00
rumble
0fe2cb9e42
Ensure that malloc does not return NULL before copying the buffer.
2006-03-17 04:53:55 +00:00
rittera
dd3a1291db
Added myself, Alan Ritter
2006-03-17 03:23:28 +00:00
chris
fea7c6a78b
Fix range to check to avoid a static buffer overrun, when
...
font->encoding == 4, which would cause access past the end of the encodings
array.
Fixes Coverity CID 1446.
Note that perhaps we should actually have an encoding line for
WSDISPLAY_FONTENC_ISO2 which is encoding 4.
2006-03-17 03:21:57 +00:00
elad
8adb45d48c
Fix off-by-one found by Coverity, CID 1529.
2006-03-17 02:56:05 +00:00
chris
d79b92051d
Only dereference b after it has been NULL checked.
...
Coverity CID 2398.
2006-03-17 02:52:56 +00:00
chris
4727225848
Fix case where argv wasn't returned or freed.
...
This fixes Coverity CID 2023.
While here also return NULL if the malloc fails.
2006-03-17 02:48:29 +00:00
elad
70b1ddf050
Overrun found by Coverity, CID 1549.
2006-03-17 02:41:31 +00:00
hubertf
986192d148
Add sanity check if there's a @cwd in the +CONTENT file.
...
If not abort, because we wouldn't know where to put the files.
Coverity CID 1358
2006-03-17 02:37:31 +00:00
chris
9ccbde6fee
Free eonce in the case of bad event combination.
...
Coverity CID 1705.
2006-03-17 02:34:22 +00:00
hubertf
3c5de91c39
pkg_do(): only use cp2 if it's really set to something useful
...
Coverity CID 1176
2006-03-17 02:31:44 +00:00
elad
21831d5e1d
Fix an off-by-one found by Coverity, CID 1456.
...
I haven't looked, but I suggest security-officer@ looks into it to see if
this may be exploited passively?
2006-03-17 02:31:03 +00:00
chris
165401a5bd
Move strlen(s) to after s is known to be not NULL, or set to "(null)" .
...
Fixes Coverity CID 2353.
2006-03-17 02:25:23 +00:00
hubertf
fc4fb72e38
findbestmatchingname_fn(): catch possible problems if best (vp)
...
contains some strange name (shouldn't happen, but ...)
Coverity CID 869
2006-03-17 02:20:46 +00:00
elad
237c0ec2a5
Fix three off-by-ones found by Coverity. CID 1444, 1445.
2006-03-17 02:12:15 +00:00
hubertf
92acb1f6e9
findbestmatchingname_fn(): only do something sensible if the pointer
...
handed in is actually usable (not NULL)
Fixes Coverity ID 870
2006-03-17 02:10:55 +00:00
hubertf
baf66cc3f1
We can't sprintf() into a NULL pointer - catch that properly
...
for ALL cases.
Coverity CID 861
2006-03-17 01:58:25 +00:00
elad
9e505fa94b
Fix two off-by-ones found by Coverity.
2006-03-17 01:55:31 +00:00
chris
caebf8211b
Move check for rnode being NULL to before it's first use.
...
Fixes Coverity CID 2434
2006-03-17 01:52:08 +00:00
hubertf
f500b89c3d
Free some allocated memory in the failure case when trying to
...
fetch the panic string.
Fixes Coverity CID 1856.
2006-03-17 01:45:51 +00:00
hubertf
19dcd9a850
Fix filedescriptor leak
...
Coverity CID 1625
2006-03-17 01:10:53 +00:00
dmcmahill
3ebb7ce790
Correct a check for an index being in bounds for a static array.
2006-03-17 00:02:30 +00:00
yamt
95d49eaf40
ETA estimated time of arrival
2006-03-16 23:27:20 +00:00
christos
d8a5b3caf5
warns=4
2006-03-16 23:25:17 +00:00