The warncore() function (used by many error and warning function) can cause the calling program to core dump in the face of a file descriptor leak. This is really bad because the function might have been called to tell the user about the file descriptor leak.