confidential-containers / td-shim

Confidential Containers Shim Firmware
Other
97 stars 53 forks source link

use `repr(C)` layout for `GuidExtension` #588

Closed gaojiaqi7 closed 1 year ago

gaojiaqi7 commented 1 year ago

It is important to use repr(C) layout for structures that are used for decoding/encoding from/into bytes.

Fix: https://github.com/confidential-containers/td-shim/issues/586