]> Cypherpunks repositories - gostls13.git/commit
path/filepath: prevent infinite recursion on Windows on UNC input
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 30 May 2016 19:57:20 +0000 (12:57 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 31 May 2016 00:11:32 +0000 (00:11 +0000)
commitd2c92f8453cab8d042b794c8ce398f6ff8e6f650
treeeb6b91ee43b4ca3270d95479e09a4dbc5aaca3ed
parent81a8f1a7946c28eaa9c187b7aaa349020b7a9ba4
path/filepath: prevent infinite recursion on Windows on UNC input

This is a minimal fix to prevent this and
other possible future infinite recursion.
We can put in a proper fix for UNC in Go 1.8.

Updates #15879

Change-Id: I3653cf5891bab8511adf66fa3c1a1d8912d1a293
Reviewed-on: https://go-review.googlesource.com/23572
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/path/filepath/match.go
src/path/filepath/match_test.go