Limit number of symlinks that canonical() will resolve
authorJonathan Wakely <jwakely@redhat.com>
Wed, 23 Sep 2015 11:26:50 +0000 (12:26 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 23 Sep 2015 11:26:50 +0000 (12:26 +0100)
commit07dc170b6f2dd893e6b4befe6706dfc0e48771d9
tree49b6053f8e3db3ee5082b14731c5bf3a759db7bf
parent429ee11aa39ba700510d789b446d74b65e202754
Limit number of symlinks that canonical() will resolve

* src/filesystem/ops.cc (canonical): Simplify error handling and
limit number of symlinks that can be resolved.

From-SVN: r228043
libstdc++-v3/ChangeLog
libstdc++-v3/src/filesystem/ops.cc