Age | Commit message (Collapse) | Author |
|
|
|
encapsulating IPv4 and IPv6 packets in IPv4 and IPv6 gif tunnels.
|
|
|
|
simplifies the caller side.
tested by & ok inoguchi; discussed with schwarze
|
|
"Regress is always open for commits" @deraadt
|
|
The sequence of packets and combination of flags depends on timing.
|
|
syslogd to shutdown. So the test could miss some log messages.
|
|
set for pledged processes. dup(2) uses the flag from the old file
descriptor. Make open /dev/fd consistent to duplicate and inherit
the flag.
OK deraadt@
|
|
The test covers the system calls dup, dup2, dup3, open /dev/fd, and
file descriptor passing. The fstat(1) output is analysed.
|
|
|
|
The test covers the system calls dup, dup2, dup3, open /dev/fd, and
file descriptor passing. The fstat(1) output is analysed.
|
|
|
|
* .nr optional third argument (auto-increment step size)
* \n+ and \n- numerical register auto-increment and -decrement
bentley@ reported on Dec 9, 2013 that lang/sbcl(1) uses these.
|
|
|
|
|
|
the previous commit for strings and macros, only technically simpler.
Desired behaviour also mentioned by Werner Lemberg in 2011.
This diff adds functionality but is -21 +19 LOC. :-)
|
|
No binary change on amd64 and there should be no differences on any
other 64 bit architecture either (because long = int64_t).
ok cheloha, tb
|
|
Observed by Werner Lemberg on Nov 14, 2011
and rotting on my TODO list ever since.
|
|
ok @deraadt
|
|
|
|
|
|
|
|
Previously it was possible to overflow integers while parsing. With this
diff, we support any kind of POSIX-compatible integers for comparisons.
with input by and ok schwarze, ok tb
|
|
Avoid useless sub shell in make command.
Be more verbose as such tests are easier to debug.
Use absolute path by default to see which apply is tested.
|
|
|
|
Based on FreeBSD's expr and NetBSD's old regression test suite.
with input by and ok schwarze
|
|
On 64 bit systems an integer overflow between strtol and int casting
could occur, resulting in out of boundary writes. Using strtonum fixes
this issue and leads to better error messages.
ok schwarze
|
|
1. setlocale(LC_ALL, "A"); setlocale(LC_CTYPE, "T"); setlocale(LC_ALL, NULL);
must return "A/T/A/A/A/A", not "A". Fix this by always initializing the
LC_ALL entry of newgl to "" in dupgl(). Reported by Karl Williamson
<public at khwilliamson dot com> on bugs@, thanks!
2. Do not leak newgl when strdup(3) fails in setlocale(3).
3. For setlocale(LC_ALL, "C/C/fr_FR.UTF-8/C/C/C"); correctly set
_GlobalRuneLocale; i found 2. and 3. while looking at the code.
Feedback on a buggy earlier version and OK martijn@.
|
|
|
|
unusual input. Correction and regression tests based on FreeBSD bin/95079.
While at it, fix another segmentation fault when using ' ' as magic
character and also disallow '\0' as magic character. This cannot make any
sense and avoids a theoretical out of boundary read.
ok tb@
|
|
the regression test uncovered code paths in the TS and CP payload parser
that can trigger access to invalid memory locations. This changes the
TS and CP payload parsing to add additional length checks.
With hshoexer@ and markus@; OK sthen@
|
|
|
|
|
|
this means that running the regression test doesn't take forever
because we run a huge dhparam test and openssl speed tests.
ok inoguchi@
|
|
are both non-blocking, but on many other -portable platforms it blocks,
stalling tests.
|
|
|
|
We already provided the setters, so also provide the getters like
OpenSSL does. Addition prompted by the use of those functions in recent
openvpn releases.
manpage diff from schwarze@ (thanks!) with input from jsing@, ok tb@
jsing@
|
|
as the former is confusing wrt similar terminology in X.509;
pointed out by jsing@
|
|
|
|
|
|
|
|
extensions and modern compilers (such as clang) will use them to optimize
separate calculations of sine and cosine.
ok tom@, patrick@, deraadt@, jmc@
|
|
reminded by bluhm@
|
|
something in /dev (rather than checking the device node itself); makes
life easier for portable, where systems with dynamic ptys can delete
nodes before we get around to testing their existence.
|
|
|
|
restrict keyword
|
|
authorized_keys
|
|
|
|
address detection. The remote side may have soii, so match ICMP6
packets from any fe80::/64 address.
|
|
libtls. Adjust test.
|