fd leak when fork: forgot to set FD_CLOEXEC for the fd received from accept
YueHonghui opened this issue · 3 comments
YueHonghui commented
Forgot to set FD_CLOEXEC for the accepted fd, which will result in fd leakage when FORK FFMPEG.
TRANS_BY_GPT3
winlinvip commented
Can I submit a patch? git format-patch origin/develop
will do, I haven't looked at this ioctl for a long time.
TRANS_BY_GPT3
YueHonghui commented
Submitting a patch won't... Does submitting a PR work?
TRANS_BY_GPT3
winlinvip commented
PR is better than patch, haha.
😄
TRANS_BY_GPT3