Skip to content

Conversation

@purplesyringa
Copy link
Contributor

Error::other allocates memory (see rust-lang/rust#148971) and thus isn't async-signal-safe. last_os_error is. It isn't possible to transmit the error message across pre_exec, unless you're willing to write to stderr, but the old method swallowed the text too, so hopefully that isn't a problem.

@ammgws ammgws requested a review from MaxVerevkin November 18, 2025 04:03
@ammgws ammgws merged commit ddc6152 into greshake:master Nov 18, 2025
13 checks passed
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.

3 participants