ただ、この問題に限れば避けられたんじゃないかと思うんだけどな。 この仕様見た瞬間、これ危なくね?って思うじゃん? https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/n... [microsoft.com] > For example, consider the string "c:\program files\sub dir\program name". > This string can be interpreted in a number of ways. > The system tries to interpret the possibilities in the following order: > c:\program.exe > c:\program files\sub.exe > c:\program files\sub dir\program.ex
もはや… (スコア:0)
バグや脆弱性のないソフトなんてないね。
OSもアプリもみな。所詮人間が作ったもの。
Re: (スコア:2, 参考になる)
ただ、この問題に限れば避けられたんじゃないかと思うんだけどな。
この仕様見た瞬間、これ危なくね?って思うじゃん?
https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/n... [microsoft.com]
> For example, consider the string "c:\program files\sub dir\program name".
> This string can be interpreted in a number of ways.
> The system tries to interpret the possibilities in the following order:
> c:\program.exe
> c:\program files\sub.exe
> c:\program files\sub dir\program.ex
Re: (スコア:0)
スペース含んだパスなど認めん!MSが折れて直すまで叩き続ける!な人居るからね。
この異常なまでの攻撃性はなんなんだろうか…
Re:もはや… (スコア:0)
MSが折れてWinodwsで使えなくなっても、Linux系というか、Linuxが主流になる以前から Unixの世界では普通に使われてるもんだからなぁ。
Re: (スコア:0)
Re: (スコア:0)
pathがNULLなら、という特殊ケースでの動作説明だし
解釈はsystemと大して変わらんだろ
Re: (スコア:0)
そうなんですけどね、、徹底して叩くのもUnix信者という…
#そんなのお前だけの常識扱い