|
Description
|
looking at the dlmgmt_process_db_onereq() function, there are several places do things
like below:
if ((nfp = fdopen(nfd, "w")) == NULL) {
(void) close(nfd);
(void) fclose(fp);
(void) unlink(newfile);
return (errno);
}
Note that the value of errno could be overwritten by the several calls after fdopen().
|