~samiam/MaraDNS

MaraDNS/README.malloc -rw-r--r-- 443 bytes View raw
a2036189 — Sam Trenholme coLunacyDNS: Getting closer to IPv6 socket support 12 hours ago
                                                                                
1
2
3
4
5
6
7
MaraDNS terminates upon a malloc() failure. Deadwood's behavior
is undefined should malloc() fail. If anyone is using MaraDNS in an
environment where a kernel allows malloc() to return a NULL pointer, it is
best to wrap MaraDNS in a script that restarts it when it terminates. If
using Deadwood in an environment where malloc() may return NULL, please
replace the dw_malloc() macro with a function that can properly handle
a malloc() failure.