Commit graph

6 commits

Author SHA1 Message Date
Craig Barnes
22f25a9e4f Print stack trace on assert() failure or when calling fatal_error()
Note: this uses the __sanitizer_print_stack_trace() function from the
AddressSanitizer runtime, so it only works when AddressSanitizer is
in use.
2021-01-16 19:56:33 +00:00
Daniel Eklöf
8aba25a477
xmalloc: add xwcsdup() 2020-10-09 19:43:04 +02:00
Craig Barnes
fe9eaf3aaf xmalloc: fix edge case handling in xcalloc() function 2020-08-25 20:49:24 +01:00
Craig Barnes
4564c82513 xmalloc: add xrealloc() and xstrndup() functions 2020-08-07 01:05:04 +01:00
Craig Barnes
014019e98d xmalloc: log error to syslog() in fatal_error() function 2020-08-05 20:11:51 +01:00
Craig Barnes
f1fce96a1d config: handle allocation failure explicitly 2020-08-04 23:28:16 +01:00