| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
upon "inet". Adjust the 4 programs that care about this.
|
|
|
|
|
|
|
|
| |
This is not a list of archs with compiler_rt as it is intended that
any arch switching to clang will have the required md bits added to
compiler_rt first.
ok kettenis@ patrick@
|
|
|
|
| |
"warning:" rectification.
|
|
|
|
|
|
|
|
|
|
| |
allocation to the size of the new allocation (instead of the requested size).
2. Previously realloc takes the easy way and always reallocates if C is
active. This commit fixes by carefully updating the recorded requested
size in all cases, and writing the canary bytes in the proper location
after reallocating.
3. Introduce defines to test if MALLOC_MOVE should be done and to
compute the new value.
|
| |
|
|
|
|
|
| |
This is a remnant from the original 4.4BSD code that had 'a' as
void * in the function args. No binary change. OK bluhm@
|
|
|
|
| |
ok tom@
|
|
|
|
|
|
| |
MUSTEAT.
ok tom@
|
|
|
|
|
|
|
| |
expressions generated by the REQUIRE() macro. Thus eliminating from build
output 100 lines or so of gcc complaints about "computed but not used".
cluebat & ok tom@
|
|
|
|
| |
ok jung@
|
| |
|
|
|
|
|
|
|
| |
whining about undefined static in all the .c files that include
asr_private.h. _asr_resolver() is defined and used in asr.c only.
ok kettenis@
|
|
|
|
|
|
| |
adding appropriate #ifdef's around declarations.
ok millert@ (with a tweak I will commit separately)
|
| |
|
|
|
|
| |
From FreeBSD (glebius)
|
|
|
|
| |
From Henri Kemppainen
|
|
|
|
|
|
|
| |
A specially crafted struct sockaddr_dl argument can trigger a stack
overflow of a static buffer in libc. An attacker may be able to
use this to write to arbitrary locations in the data segment.
From FreeBSD (glebius); OK deraadt@ mestre@
|
|
|
|
|
|
| |
issue reported by scott cheloha
ok otto
|
|
|
|
| |
closedir() outside the loop. OK deraadt@ guenther@ markus@
|
| |
|
| |
|
|
|
|
|
| |
been the default for ages, and I see no valid reason to be able to
disable it. ok natano@
|
| |
|
|
|
|
|
|
| |
quickly. In both cases it does not make sense to set hints on them.
So remove that option, which is just a remainder of old times when
malloc used to hold on to pages. ok stefan@
|
|
|
|
|
|
| |
no need to wait until the first program using it breaks...
"could make sense" semarie@ (and thanks for the cluestick)
OK deraadt@
|
| |
|
|
|
|
| |
- redundant cast is redundant
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
time when we had national language support.
OK millert@
|
|
|
|
|
| |
Previously, syslog_r() would avoid calling strerror() since the latter
is not reentrant. OK bluhm@
|
|
|
|
|
|
|
| |
while there, super-user -> superuser for internal consistency;
diff from kirill miazine, tweaked by myself;
ok deraadt millert guenther
|
|
|
|
|
|
|
|
|
| |
SIGTTOU it means the process is not in the foreground process group
which, in most cases, means that the shell has taken control of the
tty. Requiring the user the fg the process in this case doesn't
make sense and can result in both SIGTSTP and SIGTTOU being sent
which can lead to the process being suspended again immediately
after being brought into the foreground.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
others.
C11 6.5.6.9 says:
When two pointers are subtracted, both shall point to elements of the
same array object, or one past the last element of the array object; the
result is the difference of the subscripts of the two array elements.
In these cases the objects are arrays of char so the result is defined,
and we believe that the report is based on a compiler incorrectly trapping
on defined behaviour.
|
|
|
|
|
| |
prodded by otto@
ok kettenis@ otto@
|
|
|
|
|
| |
Based on patch from yuanjie.huang at windriver.com via OpenSSH bz#2608,
with & ok millert, ok deraadt.
|
| |
|
|
|
|
| |
recomputing it all the time
|
| |
|
| |
|
|
|
|
|
|
|
| |
all dns socket connections will be redirected to localhost:port.
this could be a sockopt on the listening socket, but sysctl is
an easier interface to work with right now.
ok deraadt
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
instead of chunk itself; does not change actual allocated size; ok tedu@
|