On Mon, 28 Oct 2019 at 17:52, Dustin Lundquist <[email protected]> wrote: > > On Oct 27, 2019, at 6:44 AM, Rafał Miłecki <[email protected]> wrote: > > > > You also need to drop close(fds[1]); that is placed inside the "if > > (!tok)" block. > > > When /usr/libexec/validate_firmware_image is not present on the system > procd will hang indefinitely on the read() since the input side of the > pipe is still open. > > Also fix pipe file descriptor leak when fork() fails. > > Signed-off-by: Dustin Lundquist <[email protected]>
Thanks! Acked-by: Rafał Miłecki <[email protected]> _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
