diff --git a/qrexec-lib/unpack.c b/qrexec-lib/unpack.c index c7513e8..171885a 100644 --- a/qrexec-lib/unpack.c +++ b/qrexec-lib/unpack.c @@ -77,6 +77,7 @@ void send_status_and_crc(int code, const char *last_filename) { saved_errno = errno; hdr.error_code = code; + hdr._pad = 0; hdr.crc32 = crc32_sum; if (!write_all(1, &hdr, sizeof(hdr))) perror("write status");