fortify-source.diff

Proposed patch for FORTIFY_SOURCE - Damien Raude-Morvan, 12/30/2010 12:19 AM

Download (450 Bytes)

View differences:

src/scheduler/src/sched/Scheduler.cc
134 134

  
135 135
    int fd;
136 136

  
137
    fd = open("/dev/null", O_RDWR|O_CREAT);
137
    fd = open("/dev/null", O_RDWR);
138 138

  
139 139
    dup2(fd,0);
140 140
    dup2(fd,1);