Todd C. Miller
5b217d36a3
More to a less restrictive, ISC-style license.
2004-02-13 21:36:43 +00:00
Todd C. Miller
6c51ebd37a
add DARPA credit on affected files
2003-04-16 00:42:09 +00:00
Todd C. Miller
dcf1a5acce
Use warn/err and getprogname() throughout. The main exception is
...
openlog(). Since the admin may be filtering logs based on the
program name in the log files, hard code this to "sudo".
2003-04-02 18:25:30 +00:00
Todd C. Miller
48229cbac6
update copyright year
2003-03-15 20:31:02 +00:00
Todd C. Miller
bb2c3323d9
make the malloc(0) error specific to each function to aid tracking down
...
bugs.
2003-03-15 20:10:42 +00:00
Todd C. Miller
8d8b597963
deal with platforms where size_t is signed and there is no SIZE_MAX or SIZE_T_MAX
2003-03-15 19:49:28 +00:00
Todd C. Miller
5b40c964de
Oflow test of nmemb > SIZE_MAX / size is fine (don't need >=).
...
Use memcpy() instead of strcpy() in estrdup() so this is strcpy()-free.
2003-03-13 17:00:31 +00:00
Todd C. Miller
838ec0a2ca
Add erealloc3(), a realloc() version of emalloc2().
2003-03-12 21:51:39 +00:00
Todd C. Miller
8b4248529e
Add emalloc2() -- like calloc() but w/o the bzero and with error/oflow
...
checking.
2003-03-12 21:41:22 +00:00
Todd C. Miller
8e041c3f35
Error out on malloc(0); suggested by theo
2003-03-12 21:23:40 +00:00
Todd C. Miller
b7da5ec518
Add explicit cast to (VOID *) on malloc/realloc. Seems to be needed
...
on AIX which for some reason isn't pulling in the malloc prototype.
2002-01-09 16:56:04 +00:00
Todd C. Miller
46dd419cd9
o Reorder some headers and use STDC_HEADERS define properly
...
o Update copyright year
2001-12-14 19:52:47 +00:00
Todd C. Miller
b00e117e31
Make easprintf() and evasprintf() return an int.
2000-05-10 05:10:33 +00:00
Todd C. Miller
ca8eb6f2aa
add 4th term to license similar to term 5 in the apache license
1999-07-31 16:19:45 +00:00
Todd C. Miller
fd410d4bcb
add easprintf() and evasprintf(), error checking versions of asprintf() and vasprintf()
1999-07-22 16:22:47 +00:00
Todd C. Miller
1403ace084
BSD-style copyright
1999-07-22 12:39:07 +00:00
Todd C. Miller
06e586ee7b
Function names should be flush with the start of the line so they can be found trivially in an editor and with grep
1999-04-10 04:49:03 +00:00
Todd C. Miller
0d67007d1b
In estrdup(), do the malloc ourselves so we don't need to rely on the
...
system strdup(3) which may or may not exist. There is now no need to
provide strdup() for those w/o it. Also, the prototype for estrdup()
was wrong, it returns char * and its param is const.
1999-04-06 17:55:01 +00:00
Todd C. Miller
e6deacb6c4
Crank version to 1.6 and combine copyright statements
1999-04-05 20:57:25 +00:00
Todd C. Miller
79c46d1c81
++version
1999-03-29 04:05:15 +00:00
Todd C. Miller
d8947486ec
error checking memory allocation routines
1999-03-29 01:29:02 +00:00