libnfs
libnfs copied to clipboard
malloc() can return NULL in OOM conditions, resulting in a NULL dereference whilst trying to create an error string
See linked code below.
https://github.com/sahlberg/libnfs/blob/b759d4ca7186253c03315a876353dcd8ef3e10bc/lib/init.c#L314-L318