Commit Graph

204389 Commits

Author SHA1 Message Date
christos
9521b6a6f7 provisional fix for CVS-2011-2895, buffer overflow during decompress 2011-08-16 03:33:37 +00:00
christos
4a313422fa set errno on overflow return. 2011-08-16 03:25:34 +00:00
christos
89c75b98e4 provisional fix for CVE-2011-2895, buffer overflow in decompression 2011-08-16 03:24:47 +00:00
christos
5db8b1f126 provisional fix for CVS-2011-2895, buffer overflow when uncompressing 2011-08-16 03:21:47 +00:00
dholland
595e2ecd73 Fix broken build. 2011-08-16 02:59:16 +00:00
christos
4e1d834d15 add extra cast for systems where sizeof(time_t) < sizeof(intmax_t) 2011-08-16 02:59:00 +00:00
elric
51efa0609e We shouldn't cast client_time to (intmax_t) because it is a char * not
an integer.
2011-08-16 01:14:57 +00:00
christos
4dff6c909f Fix CVS-2011-2748, malformed packets can cause server to crash causing a DoS. 2011-08-15 21:12:43 +00:00
christos
b4f44e540e use intmax_t to print times. 2011-08-15 21:00:49 +00:00
cherry
ce14cd73f0 invert buggy ci_flag test 2011-08-15 20:17:12 +00:00
cherry
c04a001592 Do not panic() on xen_send_ipi() sent to a cpu not yet running.
x86 MP boot depends on this strange behaviour.
2011-08-15 20:14:52 +00:00
mrg
ea90e3d981 also copy -m and -f flags from the GCC headers.
fixes PR#45253.  (i'm going to leave that bug open for now because i
want to re-work a bunch of the libgcc framework.)
2011-08-15 18:31:20 +00:00
dyoung
16bf4208fb Use a recursive lock to ensure that only on thread is in wi_ioctl() at
one time.  It's a recursive lock because sometimes wi_ioctl() recurses
through the network stack (ick).
2011-08-15 18:24:34 +00:00
dyoung
2e0e1dafd6 Don't test truth of a pointer or assign 0 to it but compare / assign
NULL.
2011-08-15 18:04:59 +00:00
dyoung
6ec33ad4b1 Remove superfluous parentheses in return statements. No change in the
generated assembly.
2011-08-15 17:08:00 +00:00
dyoung
66f8d0c4ef Only try to disestablish the interrupt handler if the handler was
previously established.
2011-08-15 17:01:28 +00:00
gson
e5c97dbc4f As the sigio test case is currently failing with "sigcnt != 1", print the
actual sigcnt value to aid in diagnosing the problem.
2011-08-15 15:19:08 +00:00
wiz
692c157baa Mark a few gcc-4.1 entries as obsolete with gcc-4.5. 2011-08-15 15:13:59 +00:00
wiz
281ac0460b Add -h' and -y' to `Usage' (which were missing there);
synchronize the options list from `Usage' with its own summary,
 and re-outline that list;
two corrections in the order of the options in (parseoptions) list;
a small punctuation change;
remove trailing whitespace in one line.

From Snader_LB.
2011-08-15 14:48:00 +00:00
wiz
00d8bbccfa Improve wording.
From Snader_LB.
2011-08-15 14:45:36 +00:00
wiz
8e6d328065 Re-order `usage' alphabetically;
rename option arguments in the manpage's `SYNOPSIS' section to
match those from `usage' (not the other way around; the `usage'-line
(and other parts of makefs.c) contain the correct names);
minor punctuation improvements.

From Snader_LB.
2011-08-15 14:45:01 +00:00
wiz
4db9004657 Re-order and synchronize options listed in manpage (`SYNOPSIS' and
text) as well as `usage'-line; several punctuation improvements.
From Snader_LB.
2011-08-15 14:43:17 +00:00
wiz
d91834d02d Sync usage with SYNOPSIS. 2011-08-15 14:31:58 +00:00
wiz
8579c851c4 Sort options in SYNOPSIS. From Snader_LB. 2011-08-15 14:31:24 +00:00
tnn
c908dc3b47 Use proper capitalization. Reported on IRC. 2011-08-15 14:20:08 +00:00
wiz
0988531ef9 sort -u (removing duplicate entry). 2011-08-15 11:25:07 +00:00
wiz
a85d2e4ce0 Fix typo. 2011-08-15 10:58:54 +00:00
joerg
4f144e721a Update to reflect .code32 support 2011-08-15 10:09:59 +00:00
mrg
12dc132b81 clean out some unused code. 2011-08-15 09:19:21 +00:00
msaitoh
5688e1797f regen. 2011-08-15 06:13:40 +00:00
msaitoh
2dd01e41ad Sort lines. 2011-08-15 06:13:07 +00:00
mrg
19d5bf7951 note the sparc / GCC 4.5.3 / NULL savefpstate IPI hack. 2011-08-15 02:29:38 +00:00
dholland
64b8763551 Fix another dodgy switch-jump. 2011-08-15 02:22:46 +00:00
dholland
7a8d9bb430 WARNS = 4 2011-08-15 02:19:50 +00:00
mrg
a086f3a52c re-introduce the NULL savefpstate IPI checks and evcnts. something
is Wrong with GCC 4.5.3 and these trigger.  i haven't seen anything
else particularly wrong so for now this will allow sparc to switch
to GCC 4.5, which otherwise seems to be working very well for me.

sigh.  i'm going to file a PR to research what is really wrong here.
2011-08-15 02:19:44 +00:00
jakllsch
17b414a01a Even if the hardware can handle concurrent transfers, ata(4) can't.
Also, completely rework mvsata_bio_ready().

Seems to make mvsata(4) usable on 5182.
2011-08-15 01:04:04 +00:00
dholland
66ed9af4d1 Add missing __RCSID(). 2011-08-15 00:30:25 +00:00
dholland
fc91a8d8ae Whitespace. 2011-08-15 00:27:50 +00:00
dholland
2bf41d920c Avoid switch-jumping into the middle of an if. Compiler output is unchanged. 2011-08-15 00:26:16 +00:00
dholland
46eb69af0a Minor KNF. 2011-08-15 00:24:19 +00:00
dholland
a73186c2e6 Remove redundant WARNS=4 2011-08-15 00:16:58 +00:00
dholland
c1b04cb467 Add compile-time assertion to make sure the previous doesn't go off the
rails sometime in the future.
2011-08-14 23:13:43 +00:00
wiz
b426708f05 Mention two packages making use of the API. From jmcneill. 2011-08-14 20:42:09 +00:00
apb
4390b548c2 regen 2011-08-14 20:25:01 +00:00
apb
c2497c0d32 Detect the presence of <pthread.h>, and add a HAVE_PTHREAD_H
variable in defs.mk.
2011-08-14 20:22:42 +00:00
apb
e4189833c9 Prevent expansion of <dollar>NetBSD<dollar> in a string that's
indended to be copied to nbtool_config.h.

Fix most lines longer than 80 columns.  I don't know how to fix the
long lines in the definition of NB_CHECK_INTTYPE.
2011-08-14 20:20:59 +00:00
mbalmer
c97eb22ebc fix indents 2011-08-14 18:49:17 +00:00
christos
0b147c5d2b avoid type punned warnings 2011-08-14 17:57:44 +00:00
christos
5e788a3ae4 remove gcc type punned warnings 2011-08-14 17:54:55 +00:00
christos
7a3dc95e5c fix various gcc-4.5 warnings 2011-08-14 17:50:16 +00:00