`1 & ((res - 1) >> 8)` panic: attempt to subtract with overflow If res is 0, it will panic. #252 You can view, comment on, or merge this pull request online at:
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/253 -- Commit Summary -- * Fix consttime_memequal integer overflow bug -- File Changes -- M sgx_trts/src/memeq.rs (6) M sgx_ucrypto/src/util.rs (6) -- Patch Links -- https://github.com/apache/incubator-teaclave-sgx-sdk/pull/253.patch https://github.com/apache/incubator-teaclave-sgx-sdk/pull/253.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/253
