Loading ChangeLog +3 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,9 @@ Changes in version 0.1.2.20 - 2008-??-?? - Fix a dumb bug that was preventing us from knowing that we should preemptively build circuits to handle expected directory requests. Fixes bug 660. - When opening /dev/null in finish_daemonize(), do not pass the O_CREAT flag. Fortify was complaining, and correctly so. Fixes bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19. o Minor testing features: - Add disabled-by-default code to log the relative probability of routing Loading src/common/util.c +1 −2 Original line number Diff line number Diff line Loading @@ -2070,8 +2070,7 @@ finish_daemon(const char *desired_cwd) exit(1); } nullfd = open("/dev/null", O_CREAT | O_RDWR | O_APPEND); nullfd = open("/dev/null", O_RDWR | O_APPEND); if (nullfd < 0) { log_err(LD_GENERAL,"/dev/null can't be opened. Exiting."); exit(1); Loading Loading
ChangeLog +3 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,9 @@ Changes in version 0.1.2.20 - 2008-??-?? - Fix a dumb bug that was preventing us from knowing that we should preemptively build circuits to handle expected directory requests. Fixes bug 660. - When opening /dev/null in finish_daemonize(), do not pass the O_CREAT flag. Fortify was complaining, and correctly so. Fixes bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19. o Minor testing features: - Add disabled-by-default code to log the relative probability of routing Loading
src/common/util.c +1 −2 Original line number Diff line number Diff line Loading @@ -2070,8 +2070,7 @@ finish_daemon(const char *desired_cwd) exit(1); } nullfd = open("/dev/null", O_CREAT | O_RDWR | O_APPEND); nullfd = open("/dev/null", O_RDWR | O_APPEND); if (nullfd < 0) { log_err(LD_GENERAL,"/dev/null can't be opened. Exiting."); exit(1); Loading