summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/xmalloc.c
AgeCommit message (Expand)Author
2019-11-12add xvasprintf()Damien Miller
2019-06-06Replace calls to ssh_malloc_init() by a static init of malloc_options.Otto Moerbeek
2017-05-31Switch to recallocarray() for a few operations. Both growth and shrinkageTheo de Raadt
2016-02-15Add a function to enable security-related malloc_options. With and okDarren Tucker
2015-04-24rename xrealloc() to xreallocarray() since it follows that form.Theo de Raadt
2015-02-06SIZE_MAX is standard, we should be using it in preference to theTodd C. Miller
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-01-04use standard types and formats for size_t like variables. ok dtuckerTed Unangst
2013-05-17bye, bye xfree(); ok markus@Damien Miller
2006-08-03almost entirely get rid of the culture of ".h files that include .h files"Theo de Raadt
2006-08-01move #include <stdio.h> out of includes.hKevin Steves
2006-07-26move #include <stdlib.h> out of includes.hKevin Steves
2006-07-26move #include <sys/param.h> out of includes.hKevin Steves
2006-07-22move #include <string.h> out of includes.hKevin Steves
2006-07-10move #include <stdarg.h> out of includes.h; ok markus@Kevin Steves
2006-03-27we can do the size & nmemb check before the integer overflow check; evolTheo de Raadt
2006-03-25Put $OpenBSD$ tags back (as comments) to replace the RCSID()s thatDamien Miller
2006-03-25change OpenSSH's xrealloc() function from being xrealloc(p, new_size) toDamien Miller
2006-03-25introduce xcalloc() and xasprintf() failure-checked allocations functionsDamien Miller
2006-03-19RCSID() can dieTheo de Raadt
2001-07-23no zero size xstrdup() error; ok markus@Kevin Steves
2001-04-16xrealloc dealing with ptr == nULL; mouringTheo de Raadt
2001-02-07fix size_t -> int cast (use u_long). markus okJun-ichiro itojun Hagino
2001-02-07typo in fatal()Markus Friedl
2001-02-07deal with new ANSI malloc stuffTheo de Raadt
2001-02-04unexpand and remove end-of-line whitespace; ok markus@Kevin Steves
2001-01-28use size_t for strlen() return. ok markus@Kevin Steves
2001-01-21split ssh.h and try to cleanup the #include mess. remove unnecessary #includes.Markus Friedl
2000-09-07cleanup copyright notices on all files. I have attempted to be accurate withTheo de Raadt
2000-06-20OpenBSD tagMarkus Friedl
2000-04-14whitespace cleanupMarkus Friedl
1999-11-24much more KNFTheo de Raadt
1999-11-23KNF part 1Markus Friedl
1999-09-30more cullingTheo de Raadt
1999-09-29numerous sprintf, strncpy, strcpy cleanupsTheo de Raadt
1999-09-26i bet a lot of people didn't know what ssh 1.2.16 had a nice license.Theo de Raadt