From 346fea3b6c6abbac2d842101de39b8fa8d4a4293 Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Fri, 10 Jan 2025 09:52:57 -0500 Subject: [PATCH] sca: ignore symlinks when generating so deps Signed-off-by: Jason Hall --- pkg/sca/sca.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sca/sca.go b/pkg/sca/sca.go index ca48e9123..87bdda980 100644 --- a/pkg/sca/sca.go +++ b/pkg/sca/sca.go @@ -264,7 +264,7 @@ func generateSharedObjectNameDeps(ctx context.Context, hdl SCAHandle, generated } // If it is not a regular file, we are finished processing it. - if !mode.IsRegular() && !isLink { + if !mode.IsRegular() { return nil }