Skip to content
Commit e5c3ac9b authored by Fergus Dall's avatar Fergus Dall Committed by Daniel Stone
Browse files

connection-test: Pad out strings with null bytes



The connection_demarshal test writes a 10 byte string into a wayland message,
but doesn't pad it out to a four byte boundary. This leads to the last 32-bit
word of the message being partially uninitialized, which triggers an msan
violation when the message is written to the socket.

Signed-off-by: default avatarFergus Dall <sidereal@google.com>
parent f6b78b76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment