summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/tempnam.c
AgeCommit message (Collapse)Author
2017-11-28GNU ld has prefixed the contents of .gnu.warning.SYMBOL sectionsTheo Buehler
with "warning: " since 2003, so the messages themselves need not contain the prefix anymore. From Scott Cheloha ok jca, deraadt
2015-08-31Add framework for resolving (pun intended) libc namespace issues, usingPhilip Guenther
wrapper .h files and asm labels to let internal calls resolve directly and not be overridable or use the PLT. Then, apply that framework to most of the functions in stdio.h, string.h, err.h, and wchar.h. Delete the should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here. tests clean on i386, amd64, sparc64, powerpc, and mips64 naming feedback from kettenis@ and millert@ ok kettenis@
2015-03-23fix memory leaks in tempnam(3) error pathsJonathan Gray
ok miod@ millert@ krw@ guenther@
2013-09-30Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,Todd C. Miller
MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@
2007-09-21Add some more truncation checks for path construction in tmpnam(3).Moritz Jodeit
ok ray@
2007-09-17Prevent out-of-bounds memory access in tempnam(3), if the environmentMoritz Jodeit
variable TMPDIR or the argument `dir' is an empty string. With and ok millert@ ray@
2005-08-08zap remaining rcsid.Marc Espie
Kill old files that are no longer compiled. okay theo
2004-09-28deregister + ansify, no change in object code. ok deraadt@ millert@Otto Moerbeek
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-07-09a first pass at -WallTheo de Raadt
1997-04-0310 X's for mktemp() and mkstemp().Todd C. Miller
1997-02-12more XXXX for mktempTheo de Raadt
1997-01-20back out my last change to avoid the __warn_references on the mips - it'sThomas Graichen
now done for the pmax like for the arc in machine/cdefs.h
1997-01-19put all the __warn_references behind a #ifndef NO_WARN_REFERENCES whichThomas Graichen
is then set in the libc Makefile for the mips (the mips linker can't handle them)
1996-12-2895% of common uses of these are incorrect and insecure. correct use isTheo de Raadt
incredibly rare. Time for some education!
1996-09-05issetugid backwards, duh; thanks bitbltTheo de Raadt
1996-08-25use issetugid()Theo de Raadt
1996-08-19Fix RCS idsThorsten Lockert
Make sure everything uses {SYS,}LIBC_SCCS properly
1995-10-18initial import of NetBSD treeTheo de Raadt