diff options
Diffstat (limited to 'ldd')
| -rw-r--r-- | ldd/exec.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ldd/exec.go b/ldd/exec.go index e59dfcaa..567f33ca 100644 --- a/ldd/exec.go +++ b/ldd/exec.go @@ -29,7 +29,7 @@ const ( lddName = "ldd" // lddTimeout is the maximum duration ldd(1) is allowed to ran for before it // is terminated. - lddTimeout = 4 * time.Second + lddTimeout = 15 * time.Second ) // Resolve runs ldd(1) in a strict sandbox and connects its stdout to a [Decoder]. @@ -96,7 +96,8 @@ func Resolve( if err := z.Wait(); err != nil { m := stderr.Bytes() - if bytes.Contains(m, []byte(msgStaticSuffix)) || bytes.Contains(m, []byte(msgStaticGlibc)) { + if bytes.Contains(m, []byte(msgStaticSuffix)) || + bytes.Contains(m, []byte(msgStaticGlibc)) { return nil, nil } |
