bug#37864: bug: env exec bomb (no hash bang arg)

2019-10-21 Thread Michael Coleman via GNU coreutils Bug Reports
One of my users unwittingly stumbled upon the most delightful 'env' bug. It seems to be present in a couple of pretty recent distributions. Try this: #!/usr/bin/env whatever This results in an endless 'execve' recursion (if that's the

bug#37859: [PATCH] shuf: fix bug with ‘-r -n 0’

2019-10-21 Thread Paul Eggert
‘shuf -r -n 0 file’ would mistakenly read from standard input. Problem reported by my student Jingnong Qu while reimplementing a shuf subset in Python as an exercise in UCLA Computer Science 35L: https://web.cs.ucla.edu/classes/fall19/cs35L/assign/assign3.html * NEWS: Mention the fix. Also,