-
Notifications
You must be signed in to change notification settings - Fork 258
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
uninitialized value in nightly build with memory sanitizer #391
Comments
The build script is extremely trivial: https://github.com/rust-lang/log/blob/master/build.rs This sounds like a false positive to me I think. |
I hit this as well. More info in rust-lang/rust#39610 Workaround is using |
This should be closed in favor of rust-secure-code/wg#21 IMO. |
Thanks for the report @Byter09! It looks like this is all sorted upstream so I’ll go ahead and close this one now. |
EFanZh
pushed a commit
to EFanZh/log
that referenced
this issue
Jul 23, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm currently fuzzing https://github.com/jyn514/rcc and noticed some totally unrelated crashes (they're stack overflows).
In the process however I wanted to change my script that runs the latest crash files to use a nightly and sanitized version of rcc. When using
-Zsanitizer=memory
compilation failed. At first it showedbacktrace-sys
with the warninguse-of-uninitialized-value
, however when testing that locally again, it showedlog
instead.So I went ahead, downloaded
log
and ran:RUSTFLAGS="-Awarnings -Zsanitizer=memory" cargo +nightly build
.This is the output:
This is not really my area of expertise so I hope you nice people know what to do with this.
Thanks!
The text was updated successfully, but these errors were encountered: