Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

When people ask me why I don't have a "git-aware" PS1, I shall point them to this CVE in the future.


Would be pretty incredible if the git branch command had a vulnerability.

On the other hand, having a git aware PS1 would also immediately alert you to the fact that a user had created a top level .git folder, thereby allowing you to prevent the first cve here.


> having a git aware PS1 would also immediately alert you to the fact that a user had created a top level .git folder,

And to the fact that someone other than me had write access to my disk, in which case git is probably the least of my worries.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: