[stdlib] Fix input()
segfaults on EOF
#3919
+38
−3
Open
Loading