Add some debugging printfs when malloc fails and we don't have an
explicit call to sudo_warnx().
This commit is contained in:
@@ -932,6 +932,10 @@ sudo_getdomainname(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
/* XXX - want to pass error back to caller */
|
||||
sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO,
|
||||
"unable to allocate memory");
|
||||
}
|
||||
initialized = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user