Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

address non-utf8 errors in testing #1088

Merged
merged 2 commits into from
Jul 20, 2021

Conversation

bmc-msft
Copy link
Contributor

This PR primarily addresses parsing non-UTF8 data from the application under test exposed by the inclusion of #1087.

Additionally, this PR does the following:

  • Adds context to the generator tasks related to testing applications (helpful for finding this bug)
  • Moves from OsStr.to_str, which is fallible in the case of non-utf8 values, to to_string_lossy in the potential callstacks of the generator. This is primarily in filenames and can occur with misbehaving generators or applications.

@bmc-msft bmc-msft merged commit 26654b9 into microsoft:main Jul 20, 2021
@bmc-msft bmc-msft deleted the address-non-utf8-string-issues branch July 20, 2021 15:47
@ghost ghost locked as resolved and limited conversation to collaborators Aug 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants