fortify.diff
| src/nebula/Nebula.cc | ||
|---|---|---|
| 267 | 267 |
// Close stds, we no longer need them |
| 268 | 268 |
// ----------------------------------------------------------- |
| 269 | 269 | |
| 270 |
fd = open("/dev/null", O_RDWR|O_CREAT);
|
|
| 270 |
fd = open("/dev/null", O_RDWR|O_CREAT, S_IRUSR|S_IWUSR);
|
|
| 271 | 271 | |
| 272 | 272 |
dup2(fd,0); |
| 273 | 273 |
dup2(fd,1); |