Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix possible out-of-bounds write in xec.c:iousepipe (rhbz#1506344)
Discussion/analysis: https://bugzilla.redhat.com/1506344 iousepipe() might write out of bounds, causing a crash, if subpipe[2] is set to a value >= sh.gd.lim.open_max. src/cmd/ksh93/sh/xec.c: iousepipe(): - Validate the FD using sh_iovalidfd() before the write.
- Loading branch information