libnfs icon indicating copy to clipboard operation
libnfs copied to clipboard

malloc() can return NULL in OOM conditions, resulting in a NULL dereference whilst trying to create an error string

Open midnightveil opened this issue 2 years ago • 0 comments

See linked code below.

https://github.com/sahlberg/libnfs/blob/b759d4ca7186253c03315a876353dcd8ef3e10bc/lib/init.c#L314-L318

midnightveil avatar Nov 07 '23 08:11 midnightveil