When a Linux shared-memory client was compiled with 1-byte alignment, the connection failed with LSEC_ERR or another spurious error.
A Unix shared-memory structure SHRMEM_HDR differs in size between client and server depending on the compiler alignment, causing the data payload to be missing the first byte on the server. Padding bytes were added to properly align the structure in this condition.