diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-04-23 21:06:41 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-04-23 21:06:41 +0000 |
commit | d14278c71c190ee93f3a8fbe0db5fe9f64fcee24 (patch) | |
tree | b979660d5a5719053862183ee172a781e317d0ba /LICENSE | |
parent | bd8fc166fb7a4aad04578dee7fe7fc209d5e1488 (diff) | |
download | mandoc-d14278c71c190ee93f3a8fbe0db5fe9f64fcee24.tar.gz |
Audit malloc(3)/calloc(3)/realloc(3) usage.
* Change eight reallocs to reallocarray to be safe from overflows.
* Change one malloc to reallocarray to be safe from overflows.
* Change one calloc to reallocarray, no zeroing needed.
* Change the order of arguments of three callocs (aesthetical).
Diffstat (limited to 'LICENSE')
-rw-r--r-- | LICENSE | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -10,6 +10,7 @@ Copyright (c) 2009, 2010, 2011, 2012 Joerg Sonnenberger <joerg@netbsd.org> Copyright (c) 2013 Franco Fichtner <franco@lastsummer.de> Copyright (c) 1999, 2004 Marc Espie <espie@openbsd.org> Copyright (c) 1998, 2010 Todd C. Miller <Todd.Miller@courtesan.com> +Copyright (c) 2008 Otto Moerbeek <otto@drijf.net> Copyright (c) 2003 Jason McIntyre <jmc@openbsd.org> See the individual source files for information about who contributed |