summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/system.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-20KNF.jsing24-2308/+2268
2014-04-20reset imprint to NULL to avoid double free. from mancha1 at zohotedu2-0/+2
2014-04-19release buffers fix was lost in merge. put it back.tedu2-2/+4
2014-04-19change some rsh references to ssh. poke by jmctedu2-9/+9
2014-04-19More KNF.jsing4-74/+84
2014-04-19More KNF.jsing6-90/+122
2014-04-19another attempt at fixing stale x509 data. since we don't know where thetedu2-20/+16
initial storage came from, we can't free it. just memset in the sequence case. probably ok beck
2014-04-19More KNF.jsing14-157/+163
2014-04-19More KNF.jsing2-40/+40
2014-04-19tweak previous;jmc1-3/+2
2014-04-19zap trailing whitespace;jmc1-2/+2
2014-04-19remove the openssl_fdset wrapper, and a variety of VMS'ism's likederaadt6-48/+19
crazy (void *) casts all over the place ok beck jsing
2014-04-19KNF.jsing12-1626/+1628
2014-04-19Remove a gethostbyname() cache layer. The internet works better thesederaadt1-50/+1
days. Initially fixed this, but Ted asked for it to die.
2014-04-19ReadFile() and GetStdHandle() are not very POSIX.deraadt4-45/+6
ok beck jsing
2014-04-19truncation check some snprintf calls (over-cautiously in case)deraadt4-19/+78
ok jsing beck
2014-04-19can't actually do this. cause unknown.tedu2-2/+2
2014-04-19Fix some serious pointer-arithmatic-magic-number-unchecked-return eyebleedbeck1-53/+44
that I stumbled into here and got stuck with. If modern society can get past selling daughters for cows, surely we can decide to write modern C code in an "application" that is probably 3 lines of shell/python/cgi away from talking to the internet in a lot of places.. (This file still needs a lot more love though) "oh god yuck" deraadt@ ok tedu@
2014-04-19KNF.jsing12-1128/+1060
2014-04-19Repair some indent to be more KNF, and break instead of fallthrough toderaadt1-12/+14
default which does break
2014-04-19one small tweak to avoid ever going off the end of a string.tedu1-4/+6
2014-04-19improved checking for invalid hashes. from solar designertedu1-6/+10
2014-04-19More KNF.jsing6-66/+68
2014-04-19kill a stray \deraadt1-2/+2
2014-04-19Lacking a proof that--for this implementation--exposure of Montgomeryguenther4-14/+14
multiplication or RSA blinding parameters doesn't permit retroactive timing analysis of the secrets, we'll do the stupidly cheap thing and cleanse them before freeing them. ok deraadt@
2014-04-19More KNF.jsing10-476/+592
2014-04-19Remove hacky workaround for Cray T3E.deraadt1-11/+0
ok guenther
2014-04-19More KNF.jsing8-522/+758
2014-04-19oops, typo got into changederaadt1-1/+1
2014-04-19More KNF.jsing6-20/+28
2014-04-19malloc + strlcpy -> strdupderaadt1-3/+2
2014-04-19unifdef ENOTDIR, everyone has itderaadt1-15/+3
2014-04-19We'll interpret a (void) cast on snprintf() to mean it's been verified thatguenther55-147/+147
truncation is either desirable, not an issue, or is detected and handled later ok deraadt@
2014-04-19Use somewhat harsher language and better examples; demonstrate thatderaadt4-109/+88
non-dangerous use functions is difficult. ok guenther
2014-04-19Split inet(3) into three pages by decade: 1980s -> inet_lnaof(3),guenther4-183/+320
1990s -> inet_addr(3), 2000s and beyond -> inet_ntop(3). ok tedu@ (who also noted the timeline) deraadt@ jmc@
2014-04-19egd is gonederaadt4-38/+3
2014-04-19The internal ssl2_* functions and variables are goneguenther2-60/+0
2014-04-19More KNF.jsing8-1370/+1522
2014-04-19Add SSL_OP_NO_TLSv1_1 and SSL_OP_NO_TLSv1_2guenther1-4/+13
Document that SSL_OP_NO_SSLv2 is a no-op now
2014-04-19More KNF and style consistency tweaksguenther53-479/+465
2014-04-19More KNF.jsing12-760/+942
2014-04-19More KNF.jsing12-726/+868
2014-04-19More KNF.jsing14-406/+414
2014-04-19use intrinsic strlcpy and strlcat everywhere so we only have one set ofbeck31-106/+106
funcitons to check for incorrect use. keep BUF_strlcpy and BUF_strlcat for API comptibility only. ok tedu@
2014-04-18OPENSSL_gmtime() is really just gmtime_r(); ok guentherderaadt10-26/+12
2014-04-18spacingtedu2-20/+22
2014-04-18remove references to rshd;jmc2-15/+6
2014-04-18tone down some XXXXX to not appear in greptedu5-5/+5
2014-04-18XXXXXXXXXXXXXXXX -> XXXtedu2-6/+6
XXXXXXXXXXXXXXXXXXXXXXX -> XXXX
2014-04-18unifdef NO_SOCKtedu8-16/+0