summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/malloc.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-10-22Only test one condition per invocation flavour, instead of testing allmiod1-27/+29
of them with exceptions disabled and then only one with exceptions enabled. ok kettenis@
2007-10-20Give more details on failure.miod1-8/+8
2007-10-20Make this work on 64 bit platforms by using strlen() instead of sizeof()...miod1-1/+1
worked by accident.
2007-10-11use RRSIG instead of SIG for DNSSEC. ok djm@jakob3-6/+7
2007-10-10Replace use of strcpy(3) and other pointer goo inmoritz2-30/+24
SSL_get_shared_ciphers() with strlcat(3). ok deraadt@ markus@
2007-10-08add a RETURN VALUES section.pyr1-9/+9
ok jmc@
2007-09-27Fix off-by-one buffer overflow in SSL_get_shared_ciphers().moritz2-22/+22
From OpenSSL_0_9_8-stable branch. ok djm@
2007-09-19add HISTORY; shortened version of diff from Ilya A. Kovalenkojmc1-2/+7
ok millert
2007-09-17Check snprintf(3) return value for error or truncation.moritz1-1/+5
Mostly path construction, where truncation could be bad. ok and input from deraadt@ millert@ ray@
2007-09-12fix format strings, sizeof() does not return an intotto1-5/+5
2007-09-10Proper use of fseek/fseeko macros.tobias2-2/+2
OK joris@, otto@
2007-09-09use strcspn to properly overwrite '\n' in fgets returned bufferchl2-4/+4
ok moritz@ gilles@
2007-09-07Synced atomicio implementation in nc and sendbug with ssh.tobias2-13/+24
OK djm@, joris@, ray@
2007-09-05Add missing header to avoid warningchl1-1/+2
ok millert@ ray@
2007-09-05no need to talk about bits; ok millert jmcderaadt1-3/+3
2007-09-03Update free(3) section--we use mmap()/munmap(), not brk().millert1-4/+6
Based on a diff from Mike Belopuhov. OK jmc@
2007-09-03remove trailing whitespace;jmc1-2/+2
2007-09-03Adapt atexit() regress to recent changes and add __cxa_atexit() regress.millert11-5/+196
__cxa_atexit() regress from kurt@
2007-09-03Add __cxa_atexit() support for gcc3. This provides support for shared ↵millert4-30/+108
object destructors called at dlclose() time. Inspired by similar changes in FreeBSD and NetBSD.
2007-09-03add recaloc(3)millert3-20/+62
2007-09-03add memrchr(3)millert3-5/+63
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt6-12/+12
2007-08-21http://openssl.org/news/patch-CVE-2007-3108.txt; ok pval, deraadtmarkus2-26/+130
2007-08-08Clarify the example about avoiding overflow. OK ray@ deraadt@millert1-3/+3
2007-08-08Show how to use strcspn(3) to trim newlines.ray1-2/+14
OK jmc and millert.
2007-08-06Correctly NUL terminate the message buffer that is used with theclaudio1-4/+24
-starttls option. Without this openssl s_client -starttls crashed with malloc.conf -> J. OK deraadt@, hshoexer@
2007-08-05/*FALLTHRU*/ -> /* FALLTHROUGH */ray1-2/+2
2007-07-06Reference limits.h, not sys/param.h since we document using PATH_MAXmillert1-3/+3
OK otto@
2007-07-03from ginsbach@netbsd, -r1.18:jmc1-2/+7
Document that getopt_long(3) can and will accept unique abbreviated long option names. This feature has been present since getopt_long(3) was first released in NetBSD 1.5. This is also standard GNU getopt_long(3) behavior. ok millert
2007-06-29Document behavior when no conversion could be performed. Adaptedmillert2-5/+17
from FreeBSD. With help from jmc@.
2007-06-12``dot'' notationjmc1-19/+9
is more readable than `.' notation zap some silly .Tn whilst here;
2007-06-05_FD_LOCK/UNLOCK() is libpthread specific and not needed for librthread, sokurt1-21/+35
isolate its usage to libpthread only and replace with generic non-static mutex support in the one place it is needed: - remove _FD_LOCK/UNLOCK from lseek and ftruncate in libc and make the functions weak so that libpthread can override with its own new versions that do the locking. - remove _thread_fd_lock/unlock() weak functions from libc and adjust libpthread for the change. - add generic _thread_mutex_lock/unlock/destroy() weak functions in libc to support non-static mutexes in libc and add libpthread and librthread implementations for them. libc can utilize non-static mutexes via the new _MUTEX_LOCK/UNLOCK/DESTROY() macros. Actually these new macros can support both static and non-static mutexes but currently only using them for non-static. - make opendir/closedir/readdir/readdir_r/seekdir/telldir() thread-safe for both thread libraries by using a non-static mutex in the struct _dirdesc (typedef DIR), utilizing it in the *dir functions and remove remaining and incorrect _FD_LOCK/UNLOCK() use in libc. - add comments to both thread libraries to indicate libc depends on the current implementation of static mutex initialization. suggested by marc@ - major bump libc and libpthread due to function removal, structure change and weak symbol conversions. okay marc@, tedu@
2007-06-05remove ipx-related stuff. objections nobody. major bump by kurt in a fewhenning4-385/+3
2007-05-31convert to new .Dd format;jmc105-210/+210
2007-05-26More comment typos from Diego Casati. Including winners like funtion, allmost,krw1-1/+1
oustside, seqencer, toghether, nessissary, etc.
2007-05-20Typos.ray1-3/+3
OK jmc@.
2007-05-18Remove no-op code. From tbert.ray1-3/+1
OK moritz@ and jaredy@
2007-05-17Improve reentrancy by not using global variable. Removes tworay1-31/+11
wrappers around fopen/fclose. From tbert. OK millert@, tedu@, and itojun@.
2007-05-17Add basename(3) and dirname(3) regression tests, from tbert.ray5-3/+170
OK otto@.
2007-05-16Wrap some functions, labels, and variables in #ifdefs correspondingray2-2/+8
to #ifdefs where they are used. Found by lint by bret dot lambert at gmail. OK deraadt@.
2007-05-12Use size_t for strlen results.ray1-4/+6
OK moritz@.
2007-05-12Clean up macros according to style. From tbert <bret dot lambert at gmail>.ray1-27/+27
OK moritz@ and jaredy@.
2007-05-10Use syslog_r instead of syslog in getaddrinfo. Slowly makingray1-4/+9
getaddrinfo reentrant. OK millert@ and deraadt@.
2007-05-02macros at start of line require a `.';jmc1-2/+2
2007-05-02Document the lack of error return value in arc4random.pyr1-1/+4
Sync the documentation in getpid with arc4random's format.
2007-04-21-These option are ignoredjmc1-2/+2
+These options are ignored
2007-04-10Support for optional args separated with whitespace was removedmillert1-17/+1
some time ago--it caused too many problems.
2007-04-06Add proper checks against fgets failure. From Charles Longeau.ray2-2/+4
OK moritz@, millert@, and jaredy@.
2007-03-28Add the cRLSign bit by default, so that certs generated using this filecloder1-1/+1
will be able to sign CRLs. OK reyk, hshoexer, millert
2007-03-20remove some bogus *p tests from charles longeautedu6-10/+10
ok deraadt millert