You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Linux, valgrind complains about uninitialized bytes being passed to write():
==14689== Syscall param write(buf) points to uninitialised byte(s)
==14689== at 0x5C6132F: __libc_write (write.c:26)
==14689== by 0x5C6132F: write (write.c:24)
==14689== by 0x5656A09: cppcoro::detail::linux::message_queue::enqueue_message(void*, cppcoro::detail::linux::message_type) (linux.cpp:78)
==14689== by 0x564FB0B: cppcoro::io_service::post_wake_up_event() (io_service.cpp:748)
==14689== by 0x564F564: cppcoro::io_service::stop() (io_service.cpp:454)
...
==14689== Address 0x1ffefff044 is on thread 1's stack
==14689== in frame #1, created by cppcoro::detail::linux::message_queue::enqueue_message(void*, cppcoro::detail::linux::message_type) (linux.cpp:74)
On Linux, valgrind complains about uninitialized bytes being passed to
write()
:The
write()
call is inwhere
has padding bytes between its two members. These bytes are not initialized in
qmsg
, but still being written.So the easiest solution would be to initialize all of
qmsg
's bytes:The text was updated successfully, but these errors were encountered: