From 48aa3ce720b918c4d3251b4ada64cceeb33b20a5 Mon Sep 17 00:00:00 2001 From: Oliver Chang Date: Wed, 8 Jan 2025 10:45:48 +1100 Subject: [PATCH] Add another TODO --- experimental/javareach/cmd/reachable/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/experimental/javareach/cmd/reachable/main.go b/experimental/javareach/cmd/reachable/main.go index effd41d608..2f73814ee9 100644 --- a/experimental/javareach/cmd/reachable/main.go +++ b/experimental/javareach/cmd/reachable/main.go @@ -54,6 +54,7 @@ func main() { } func findClass(classPath string, className string) (*javareach.ClassFile, error) { + // TODO: Handle directory traversal. classFilepath := filepath.Join(classPath, className) if !strings.HasSuffix(classFilepath, ".class") { classFilepath += ".class"