DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17186>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17186 SEGV should sem_open fail in locks/unix/proc_mutex.c Summary: SEGV should sem_open fail in locks/unix/proc_mutex.c Product: APR Version: HEAD Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: APR AssignedTo: bugs@httpd.apache.org ReportedBy: [EMAIL PROTECTED] In httpd-2.0.44 if the sem_open function on line 120 of unix/proc_mutex.c fails, the clean-up that occurs from the call on line 124 of the same file will fail since the semaphore (psem) is not a valid file descriptor. The error actually is in line 82 of the same file in the sem_close() call. (In fact, the mutex filedes will contain nonsense which might do unforeseen evil things later.) A simple fix would be to insert at line 124 of unix/proc_mutex.c: new_mutex->interproc->filedes = -1; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]