Skip to content

Conversation

@ffontaine
Copy link
Contributor

Catch UnicodeDecodeError when calling read_text() to avoid a crash when parsing /usr/share/man/man7/systemd.environment-generator.7.gz

Catch UnicodeDecodeError when calling read_text() to avoid a crash when
parsing /usr/share/man/man7/systemd.environment-generator.7.gz

Signed-off-by: Fabrice Fontaine <[email protected]>
Copy link
Contributor

@alex-ter alex-ter left a comment

Choose a reason for hiding this comment

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

LGTM by inspection.

@ffontaine
Copy link
Contributor Author

All tests successful, merging

@ffontaine ffontaine merged commit 49225f5 into intel:main Nov 6, 2025
24 checks passed
@ffontaine ffontaine deleted the fix-env-parser branch November 6, 2025 16:51
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