-
Notifications
You must be signed in to change notification settings - Fork 407
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
'variant' has undefined behavior for assignment operator of underlying value #2414
Labels
bug
Something isn't working
Comments
21 tasks
yuanxingyang
added a commit
to yuanxingyang/iceoryx
that referenced
this issue
Jan 17, 2025
yuanxingyang
added a commit
to yuanxingyang/iceoryx
that referenced
this issue
Jan 18, 2025
yuanxingyang
added a commit
to yuanxingyang/iceoryx
that referenced
this issue
Jan 19, 2025
yuanxingyang
added a commit
to yuanxingyang/iceoryx
that referenced
this issue
Jan 19, 2025
yuanxingyang
added a commit
to yuanxingyang/iceoryx
that referenced
this issue
Jan 19, 2025
yuanxingyang
added a commit
to yuanxingyang/iceoryx
that referenced
this issue
Jan 25, 2025
…during assignment
yuanxingyang
added a commit
to yuanxingyang/iceoryx
that referenced
this issue
Jan 26, 2025
…during assignment
yuanxingyang
added a commit
to yuanxingyang/iceoryx
that referenced
this issue
Feb 19, 2025
…during assignment
yuanxingyang
added a commit
to yuanxingyang/iceoryx
that referenced
this issue
Feb 20, 2025
…during assignment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Required information
Operating system:
any
Compiler version:
any
Eclipse iceoryx version:
all
Observed result or behaviour:
This leads to undefined behavior since the memory is not initialized with a
Foo
but the implementation calls the assignment operator ofFoo
with the uninitialized memory as left hand side.Expected result or behaviour:
No undefined behavior.
Conditions where it occurred / Performed steps:
code review
The text was updated successfully, but these errors were encountered: