News for hackers. Stuff that matters.
Re:Critical security updates for Git, Subversion and Mercurial by numbsafari on Friday August 11, 2017 @09:40AM (#14989515)
Got it.

Seems to me the the use of "=" notation for CLI args would be rife with situations like this.

Yikes...

[also, still going through the code, but it looks like they are setting up for a call to exec*()]

Re:Critical security updates for Git, Subversion and Mercurial by wahern on Friday August 11, 2017 @03:13PM (#14993209)
Yes, which is why "--" is the standard way to avoid this stuff, and why people should generally avoid writing their own options processor and instead use getopt() or getopt_long(), which provide consistent, standard semantics.