-
Notifications
You must be signed in to change notification settings - Fork 356
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
C "memcpy" shim: ensure the pointers are valid #2968
Conversation
Also add tests for some other shims that already behave correctly
@bors r+ |
C "memcpy" shim: ensure the pointers are valid Also add tests for some other shims that already behave correctly Fixes #2966
💔 Test failed - checks-actions |
I don't get this CI failure. |
Ooooh, that wasn't clear from the ui_test annotation: this is for a cross compilation target. |
@bors r=RalfJung,oli-obk |
C "memcpy" shim: ensure the pointers are valid Also add tests for some other shims that already behave correctly Fixes #2966
Btw, what is this in the test output?
That's a very long line repeating the entire diff... some kind of debug output? |
that's just github actions printing the github actions commands |
tests/fail/shims/memrchr_null.stderr
Outdated
@@ -1,15 +1,28 @@ | |||
error: Undefined Behavior: memory access failed: null pointer is a dangling pointer (it has no provenance) | |||
error[E0425]: cannot find function `memrchr` in crate `libc` |
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.
Looks like the blessed output now says "cannot find function"? That doesn't seem right?^^
yea 🤦 I forgot to bless normally again @bors r=RalfJung,oli-obk |
C "memcpy" shim: ensure the pointers are valid Also add tests for some other shims that already behave correctly Fixes #2966
No need to have that wrong bless in the history at all... @bors retry r+ |
the |
☀️ Test successful - checks-actions |
Also add tests for some other shims that already behave correctly
Fixes #2966