mirror of https://github.com/google/oss-fuzz.git
Don't traverse symlinks in patch_build.py (#4086)
Should fix https://github.com/google/oss-fuzz/issues/4003
This commit is contained in:
parent
11a0f516cd
commit
811add4dbf
|
@ -120,6 +120,10 @@ def PatchBuild(output_directory):
|
|||
for root_dir, _, filenames in os.walk(output_directory):
|
||||
for filename in filenames:
|
||||
file_path = os.path.join(root_dir, filename)
|
||||
|
||||
if os.path.islink(file_path):
|
||||
continue
|
||||
|
||||
if not IsElf(file_path):
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in New Issue