fortify.diff

Tentative patch - Damien Raude-Morvan, 10/20/2010 03:02 PM

Download (488 Bytes)

View differences:

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);