commit | ea11fa46b90ab115338b4f46482bea96a3984c36 | [log] [tgz] |
---|---|---|
author | Robin Thellend <rthellend@google.com> | Fri Oct 17 11:37:18 2014 -0700 |
committer | Robin Thellend <rthellend@google.com> | Fri Oct 17 11:37:18 2014 -0700 |
tree | a95333cb8157a7340de3a60c51c079b4c2242cd8 | |
parent | 260dc6a13916fdfb32e5783bf7c001f4b4916c4f [diff] |
veyron/lib/glob: Fix bad pattern detection filepath.Match() never returns an error when matching against an empty name. This caused mounttabled to panic when it received an invalid pattern. panic: Error in glob pattern found. [...] veyron.io/veyron/veyron/lib/glob.(*Glob).MatchInitialSegment(0xc20df9c920, 0xc20f1395ed, 0xd, 0xc20df9c960, 0x2) /home/ashankar/veyron/veyron/go/src/veyron.io/veyron/veyron/lib/glob/glob.go:91 +0x152 Change-Id: Id6a184a3838643350555bbf9afed5133a216033c