Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jibal
72 days ago
|
parent
|
context
|
favorite
| on:
A surprise with how '#!' handles its program argum...
There's no security issue here. Certainly the OP hasn't explained why there is one.
jmclnx
71 days ago
[–]
There could be. Say you have '#!sh', someone could have put a broken 'sh' somewhere, that could be the first one the '#!' sees.
jibal
70 days ago
|
parent
[–]
No, this is about relative paths, not searching $PATH ..., which it doesn't do. (That happens when people do '#!/usr/bin/env sh' ... the security issues with that are a separate discussion.)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: