diff --git a/fcb/fcb.go b/fcb/fcb.go index a654e71..3430384 100644 --- a/fcb/fcb.go +++ b/fcb/fcb.go @@ -295,6 +295,11 @@ func (f *FCB) DoesMatch(name string) bool { } } + // If the name is too long that's a nope too + if len(name) > 8+3 { + return false + } + // Create a temporary FCB for the specified filename. tmp := FromString(name)