| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Since locale reading code not resistent against stack overflowing or
similar intruder attacks, don't allow PATH_LOCALE env variable action
for s-bit programs (non-standard locale path setting)
|
|
|
|
| |
Optimize/improve recently added locale restoration on failure
|
|
|
|
| |
don't treat empty encoding as C encoding
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
strdup() it to prevent unsetenv() or setenv() effects. Check its length to
not allow user to overflow internal locale buffer. Move PATH_LOCALE
handling code into one place.
POSIX: make better stub for LC_MONETARY & LC_NUMERIC, now it check
locale directory existance instead of refusing all non-C non-POSIX
locales. POSIX treats empty locale env variable as unset variable
while our old code treats it as "C" locale, fix it. Implement previous locale
restoring, if locale setting fails. Old code assumes success if some
of LC_ALL subset is successed even other fails, POSIX treats it as
failure with previous locale restoring, fix it.
Remove unneccessary length checking in currentlocale()
|
|
|
|
| |
Cannidate for: 2.2
|
|
|
|
|
|
|
| |
attempted to exec the components of $PATH and it usually set errno
to the wrong value.
Found by: NIST PCTS
|
|
|
|
|
|
|
|
| |
Garbage in `eacces' caused the wrong errno to be set for non-EACCES errors.
Garbage in `etxtbsy' caused a semi-random retry strategy for ETXTBSY errors.
Found by: NIST-PCTS. gcc -Wall reported the problem, but -Wall is not
enabled for libc.
|
| |
|
|
|
|
|
| |
Parameters for pthread_getspecific() call changed.
pthread_keycreate() renamed to pthread_key_create().
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
dealing w/the fixit floppy.
Also added the MNT_RELOAD, MNT_WANTRDWR, MNT_ASYNC, MNT_NOATIME,
MOUNT_UNION flags. Someone might want to check my description of MNT_RELOAD.
2.2-R candidate. Not a 2.1.6-R candidate -- some current flags aren't in
2.1.5-R's version.
|
|
|
|
|
|
|
|
|
|
|
|
| |
for NULL RPC client handles. This should hopefully fix the problems
Satoshi reported on -current.
- Add socket descriptor sanity checks to _yp_unbind().
- Fix yp_order() so that it handles the RPC_PROCUNAVAIL error gracefully.
NIS+ in YP compat mode doesn't support the YPPROC_ORDER procedure.
This is a 2.2 candidate with bells on.
|
| |
|
|
|
|
| |
I thought I had committed these, but it seems not.
|
|
|
|
|
|
| |
TTL of DNS records that it looks up for it's resolver cache.
Obtained from: Endre Balint Nagy <bne@CareNet.hu>, via squid-1.1.x source.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
inside libc. Add collate_range_cmp as alias to __collate_range_cmp
for temp. backward compatibility.
collate_range_cmp will be replaced with direct code for each
external program for compatibility with the rest of world
|
|
|
|
|
|
|
| |
with a NULL pointer (archie)
Explain that minsize is also the smallest alignment.
Submitted by: Archie Cobbs <archie@whistle.com>
|
|
|
|
| |
Detected by: phkmalloc :)
|
|
|
|
| |
Change standards section to reflect POSIX 1003.1-1990 conformance.
|
|
|
|
|
|
| |
Improve chances of troublefree 64bit operation. [imp]
Noticed by: Warner Losh <imp@village.org>
|
|
|
|
| |
Obtained from: OpenBSD, Thorsten Lockert <tholo@OpenBSD.ORG>
|
|
|
|
|
|
|
| |
1) Rename FNM_ICASE to FNM_CASEFOLD
2) Add FNM_LEADING_DIR
Add proper (unsigned char) casts to tolower().
Use 'char' function argument for proper sign extension
|
|
|
|
| |
Simplify collate_range_cmp for ASCII-compatible collate we have now
|
|
|
|
| |
Reviewed by: bde
|
|
|
|
| |
Reviewed by: ache
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add progname to warning/error message layout. (joerg)
Remove inline assembler, no speed impact, not need for the obfuscation (bde)
Remove on the fly calculation of parameters, no longer critical.
Make D & U flags valid even if we don't support them.
Don't call imalloc until we're done initializing.
Zap contents on free() if we have "Junk" set. [*]
Various nitpicking.
[*] As a sideeffect of this change, if you are worried about
sensitive data lingering in memory, you can use the 'Junk' option
now to make sure phkmalloc zaps memory when it is returned. add
char * malloc_options = "J";
to your source. Obviously there is a performance impact.
|
|
|
|
|
|
| |
the buffer dynamic.
Closes PR # misc/1838: getttyent() arbitrary 100...
|
|
|
|
|
|
| |
changes from the vendor branch as well, backing the db-1.82 changes.
This file should now be the same as it was in rev 1.1.1.2.
|
|
|
|
|
|
| |
Somehow, I also managed to get quite some other changes in this file at
the same time. All I did was checkout the file and made a single change.
If someone has an explanation how these PURIFFY defines got in...
|
|
|
|
|
|
| |
This should solve the bug where a coredumping ftpd reveals
encrypted passwords.
Obtained from: OpenBSD
|
|
|
|
|
|
|
| |
malloc() does is not defined to return a zeroed buffer leading to
"strange" problems.
Submitted by: Karl Denninger <karl@mcs.com>, PR#1826
|
| |
|
|
|
|
|
|
| |
This change is not compatible with previous variant, however proper
error code returned in both cases.
Colldef changes will follows.
|
|
|
|
|
| |
file (and not a directory or a device which might also be readable).
Closes PR#1740.
|
|
|
|
| |
with the seed. Old variant will be available via libcompat soon.
|
|
|
|
| |
declarations to make them agree with the actual prototypes in <netdb.h>.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Submitted by: Kent Vander Velden <graphix@iastate.edu>
Reviewed by:
Submitted by:
Obtained from:
|
|
|
|
|
|
| |
- removed references to nonexistent pathconf-related variables.
- document everything in CTL_MACHDEP(more than in sysctl.8) and
80% of the things in CTL_KERN (same as in sysctl.8).
|
|
|
|
| |
Changed the error name width for rfork to match fork.
|
|
|
|
| |
The pages are not NetBSD specific and FreeBSD is not a child of NetBSD.
|
| |
|
| |
|
|
|
|
| |
fix sbrk manpage while we're at it.
|
|
|
|
| |
Reviewed by: phk
|