-
Notifications
You must be signed in to change notification settings - Fork 82
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
Store to misaligned address in REPLACE_NEAR
macro
#21
Labels
Comments
jiridanek
added a commit
to jiridanek/qpid-dispatch
that referenced
this issue
Dec 25, 2021
|
jiridanek
added a commit
to jiridanek/qpid-dispatch
that referenced
this issue
Jan 4, 2022
jiridanek
added a commit
to jiridanek/qpid-dispatch
that referenced
this issue
Jan 7, 2022
jiridanek
added a commit
to jiridanek/qpid-dispatch
that referenced
this issue
Jan 13, 2022
jiridanek
added a commit
to jiridanek/qpid-dispatch
that referenced
this issue
Jan 29, 2022
jiridanek
added a commit
to jiridanek/qpid-dispatch
that referenced
this issue
Jan 29, 2022
jiridanek
added a commit
to jiridanek/qpid-dispatch
that referenced
this issue
Jan 29, 2022
jiridanek
added a commit
to jiridanek/qpid-dispatch
that referenced
this issue
Jan 29, 2022
jiridanek
added a commit
to jiridanek/qpid-dispatch
that referenced
this issue
Jan 29, 2022
jiridanek
added a commit
to jiridanek/qpid-dispatch
that referenced
this issue
Jan 29, 2022
jiridanek
added a commit
to jiridanek/qpid-dispatch
that referenced
this issue
Jan 29, 2022
jiridanek
added a commit
to apache/qpid-dispatch
that referenced
this issue
Jan 30, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using amd64 architecture. I enabled AddressSanitizer and UndefinedBehavior sanitizer in GCC. My tests produce the following undefined behavior error:
The
stub.cpp
code isThe macro is
Looking into code, there is more statements suffering from this, e.g.
*(long long *)(fn + 2) = (long long)fn_stub;\
in the same file.For a solution, I am thinking that std::copy or memcpy should solve this, but it feels more clumsy than the current code and it may need helper variable.
The text was updated successfully, but these errors were encountered: