Closed jethrogb closed 8 years ago
The buffer allocated for snprintf in dump_sigstruct in sgx-utils.c is not big enough to hold the entire data structure. Q2 gets truncated by 204 bytes.
dump_sigstruct
Fixed on https://github.com/sslab-gatech/opensgx/commit/25a6e9ecc59e60e73802cc961fc097b20a5d4479 Thanks for your report.
The buffer allocated for snprintf in
dump_sigstruct
in sgx-utils.c is not big enough to hold the entire data structure. Q2 gets truncated by 204 bytes.