From 1becad43298e74ba73bc66f9d44523e5d121c667 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 20 May 2024 14:48:35 +0200 Subject: Add vasprintf/asprintf The only hardening being done here is to set the char** parameter to thos functions to NULL in case of an error, to prevent it from being used should people forget to check return values. This is already done on some BSD, as well as in Rocky Linux. --- README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 9b9a956..f47df41 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ At this point, the program will safely crash. - `FD_CLR` - `FD_SET` +- `asprintf` - `bcopy` - `bzero` - `calloc` @@ -121,6 +122,7 @@ At this point, the program will safely crash. - `umask` - `vfprintf` - `vprintf` +- `vasprintf` - `vsnprintf` - `vsprintf` - `wcrtomb` -- cgit v1.3