summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/hcreate.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-07Match search_string_def() prototype change, forgotten in previous protector.[ch]miod1-1/+1
commit.
2014-05-07KNF.jsing28-1888/+1968
2014-05-07Render roff escape sequences contained in manual page descriptionsschwarze1-2/+11
before putting them into the mpages table. Issue found by bentley@ in OpenBSD::Getopt(3p).
2014-05-07Fix two memory leaks in makewhatis -n:schwarze1-2/+14
1. As found by nigel@, names_check() requires database access. 2. Do not leak names and strings in -n mode.
2014-05-07consolidate some code by using reallocarray in all cases.tedu1-19/+9
ok deraadt millert
2014-05-07use reallocarray. ok guenthertedu2-7/+5
2014-05-07Fix whitespace mistakes.pirofti3-9/+9
2014-05-07Do not segfault in makewhatis -Q if the next .SH after .SH NAMEschwarze1-4/+7
does not have any arguments. Crash found by nigel@ in kermit(1).
2014-05-07revert, thanks sthentedu2-18/+34
2014-05-07back out the previous ICMP simplifying diff, it caused livelocks.pelikan3-12/+18
reported by Mikolaj Kucharski, thanks! ok krw
2014-05-07try postponed requests first, so we do in-order processing; ok mikeb@markus1-2/+7
2014-05-07print msgid for debugging; ok reyk & mikebmarkus1-3/+6
2014-05-07make authentication work with X509 certificates that don't have amarkus3-22/+154
subject-altname, i.e. support IKEV2_ID_ASN1_DN correctly; feedback & ok mikeb@
2014-05-07Remove the undocumented and ineffective -F option (force hard linkschwarze1-8/+4
to directory). This doesn't reduce functionality but merely results in a better error message when trying to use the option, and it simplifies the code. The -f option first appeared in AT&T Version 7 UNIX (1979), and Keith Bostic renamed it to -F for 4.3BSD-Reno in 1990 because it conflicted with System V and POSIX. Meanwhile, NetBSD, FreeBSD, and DragonFly removed it, too. From Tristan Le Guern <tleguern at bouledef dot eu>. OK guenther@ krw@
2014-05-07factor out ikev2_ike_auth() (state machine; used multiple times via callbacks)markus1-12/+15
from ikev2_ike_auth_recv() code (message parsing; used once); ok mikeb@
2014-05-07add additional includes from eng_cryptodev.cjsg2-0/+10
makes this compile with OPENSSL_NO_DEPRECATED defined. ok deraadt@
2014-05-07Remove the last hacks concerning the global list of IPv4 addresses in thempi3-30/+15
source address selection logic. These hacks were only relevant for the NFS diskless boot code in order to pick the local broadcast address of the only configured interface. So, be explicit and set this address directly. Tested by florian@, ok henning@, beck@, chrisz@
2014-05-07Make sure to call uhidev_close() upon detach for every HID driver callingmpi6-6/+25
uhidev_open() at attach time. This plugs up to 3 xfer leaks and a buffer one. ok yuo@
2014-05-07Kill the {nd6_,}useloopback buttons, using the loopback interface formpi6-53/+26
local traffic is not optional. ok mikeb@, stsp@, jca@
2014-05-07Remove some m->m_pkthdr.rcvif dereference to help for upcomingmpi2-28/+33
receiving pointer -> index conversion. No functional change. ok chrisz@, jca@, mikeb@, lteo@
2014-05-07Initialize struct iface by zero. Without this, npppd had used randomyasuoka1-2/+2
configuration. from Anders Berggren.
2014-05-07Fix ext2fs atime and mtime handling that I broke from an airportguenther1-2/+8
lounge after n2k14. Prototype patch from zhuk@ ok zhuk@ krw@ tedu@
2014-05-07pass daemon_flags to nsd-control when used to check/reload/stop nsd,sthen1-4/+4
the only useful option here is to specify an alternative config path, which must be used for these operations as well as for startup.
2014-05-07missing word in error message. ok millerttedu1-3/+3
2014-05-07delete some crusty caststedu1-4/+4
2014-05-07convert calloc to use reallocarray instead. ok millerttedu1-2/+2
2014-05-07calloc, from peter malonetedu1-3/+2
2014-05-07use calloc. from peter malonetedu1-3/+2
2014-05-07calloc is simpler. suggested by Peter Malone and halextedu1-8/+3
2014-05-07use calloc. from Peter Malonetedu2-8/+6
2014-05-07miod forgot about fcrypt_b.c being needed, before he went off to get hisderaadt2-2/+4
beauty sleep. He's probably having a nightmare about this right now.... ok tedu
2014-05-06temp variable for a bit of claritytedu1-6/+6
2014-05-06remove unneeded variabletedu1-4/+2
2014-05-06When the stack protector heuristics doesn't cover a function, leavemartynas1-8/+7
a little pointer-sized gap before the return value. This protects from common off-by-one type of bugs and costs nothing: the attacker won't be able to overwrite return pointer. Developed at m2k14, thanks for the hackathon!
2014-05-06factor out the safepathtedu1-2/+3
2014-05-06be more explicit about what's a stringtedu1-5/+5
2014-05-06Introduce -fstack-shuffle, which randomizes local stack variables.martynas2-12/+33
This will make the environment more hostile and help detect bugs that depend on overrunning one variable into another, with almost no performance cost. Discussed with Theo at m2k14 hackathon. "oh god yes" tedu@, "oh nice" djm@
2014-05-06better alloc idiomtedu1-2/+2
2014-05-06factor max message sizetedu1-3/+4
2014-05-06don't give people bad ideas about pool_debugtedu1-2/+1
2014-05-06We don't really need uniform distribution for mktemp(3) so usemillert1-6/+19
arc4random_buf() to avoid lots of arc4random() calls with a getpid() syscall for each one. We fetch 32 bytes of random data at a time which can handle up to 16 Xs. 16 Xs should be enough for anyone. Requested and OK deraadt@
2014-05-06small fix from mancha1. currently unused file, but no harm fixing it.tedu1-1/+2
2014-05-06reallocarraytedu1-2/+2
2014-05-06spell NULL as NULLtedu1-2/+2
2014-05-06Make sure the stdout output is check, to confirm proper sorting.miod3-1/+10
2014-05-06Assorted cleanups:miod2-28/+8
- replace hardcoded sizes with sizeof() - pqueue_find() apparently used to need to keep track of the previous node when iterating, which causes its logic to be complicated. However, nowadays it only needs to iterate, so replace with a straightforward, much readable logic. - remove #if 0'ed code From ``sin'' from 2f30 dot org on tech@, thanks!
2014-05-06Add a fixed (read: non-SIGSEGV'ing) pq_test.miod3-1/+111
2014-05-06Remove broken-by-design testmiod2-190/+0
2014-05-06Make sure PKCS7_get_octet_string() return values are checked for NULL.miod2-4/+20
Reported by David Ramos (and simultaneously to OpenSSL as PR#3339). ok beck@ logan@
2014-05-06Remove the ``addressable'' argument to search_string_def(). Turned out to bemiod2-15/+9
a bad idea, for it causes false positives, which then can cause ICE trying to protect narrower-than-int incoming arguments, if building with -fstack-protector-all. From etoh@'s gcc 3.4 tree, unbreaks -fstack-protector-all on m88k (well, maybe not completely, but it makes it compile more files, such as pf.c which contains functions receiving uint16_t arguments pushed on the stack due to the exhaustion of caller-saved registers).