Skip to content

Conversation

@ffontaine
Copy link
Collaborator

is_symlink can return PermissionError exception so handle those thanks to try/except blocks.

is_symlink can return PermissionError exception so handle those thanks
to try/except blocks.

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Copy link
Collaborator

@terriko terriko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thank you!

@terriko terriko merged commit f13f559 into intel:main Feb 14, 2024
@ffontaine ffontaine deleted the fix-permission-denied branch February 15, 2024 06:47
inosmeet pushed a commit to inosmeet/cve-bin-tool that referenced this pull request Feb 16, 2024
is_symlink can return PermissionError exception so handle those thanks
to try/except blocks.

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants