summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorjvoisin2024-05-20 14:48:35 +0200
committerJulien Voisin2024-05-26 20:19:27 +0000
commit1becad43298e74ba73bc66f9d44523e5d121c667 (patch)
tree009d0b1431d11ceb9d3ae1d33d1fd35638365ee9 /README.md
parent92c611ad8abb146ed548301de8bc011c2b17bccd (diff)
Add vasprintf/asprintf2.3
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.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
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.
59 59
60- `FD_CLR` 60- `FD_CLR`
61- `FD_SET` 61- `FD_SET`
62- `asprintf`
62- `bcopy` 63- `bcopy`
63- `bzero` 64- `bzero`
64- `calloc` 65- `calloc`
@@ -121,6 +122,7 @@ At this point, the program will safely crash.
121- `umask` 122- `umask`
122- `vfprintf` 123- `vfprintf`
123- `vprintf` 124- `vprintf`
125- `vasprintf`
124- `vsnprintf` 126- `vsnprintf`
125- `vsprintf` 127- `vsprintf`
126- `wcrtomb` 128- `wcrtomb`