node-scanf icon indicating copy to clipboard operation
node-scanf copied to clipboard

gets opens stdin on every call

Open skolodyazhnyy opened this issue 1 year ago • 0 comments

It seems each call to gets() opens /dev/null, causing input file descriptor to be overridden with a new one on each call and file descriptor leak.

skolodyazhnyy avatar Oct 07 '24 14:10 skolodyazhnyy