Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Matheus28
on April 13, 2022
|
parent
|
context
|
favorite
| on:
Git security vulnerability announced
Yes but that's a general use function, it won't check for safe.directory inside of it
db48x
on April 13, 2022
[–]
Right, all that does is turn paths like ~/foo into /home/<user>/foo. I’ve no idea why it even takes the key as an argument.
Matheus28
on April 13, 2022
|
parent
[–]
It's so it can print an error referring to the key if there was a problem parsing.
db48x
on April 13, 2022
|
root
|
parent
[–]
Oh, that makes sense.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: