Error: CPPCHECK_WARNING (CWE-476):
attr-2.6.0/libmisc/walk_tree.c:126: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: n
#  124|   	if (newname == NULL)
#  125|   		return NULL;
#  126|-> 	memcpy(n, dirname, dirlen);
#  127|   	n += dirlen;
#  128|   	memcpy(n, pathname, pathlen);
