-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix null being passed to g_path_get_dirname when probing in wasm #60445
Conversation
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsSomewhat recently the module probing logic started passing null to g_path_get_dirname in some cases. While this wouldn't crash, it would print an error to the console. cc @lambdageek
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit1: indentation
nit2: (I realize this was on the old version - we should clean it up) a & b && c
is kind of sus. (a & b) != 0 && c
is better.
Co-authored-by: Aleksey Kliger (λgeek) <[email protected]>
Does this fix #60392 ? |
Fixes #60392 |
/backport to release/6.0-staging |
Started backporting to release/6.0-staging: https://github.com/dotnet/runtime/actions/runs/4683579945 |
Somewhat recently the module probing logic started passing null to g_path_get_dirname in some cases. While this wouldn't crash, it would print an error to the console.
cc @lambdageek