Summary: | ASTERISK-01860: [patch] ast_safe_system() always returns -1 | ||
Reporter: | Frank Mandarino (fmandarino) | Labels: | |
Date Opened: | 2004-06-21 15:14:04 | Date Closed: | 2004-09-25 02:42:32 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) ast_safe_system.patch.txt | |
Description: | There is a break missing in the wait4() loop so that the wait4() is called an additional time after the child process has completed. This second wait4() always returns -1, which then exits the loop and returns -1 to the ast_safe_system() caller. | ||
Comments: |