You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by volcano <no...@github.com> on 2020/06/30 03:54:32 UTC

[apache/incubator-teaclave-sgx-sdk] Fix consttime_memequal integer overflow error (#253)

`1 &amp; ((res - 1) &gt;&gt; 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

Re: [apache/incubator-teaclave-sgx-sdk] Fix consttime_memequal integer overflow error (#253)

Posted by Yu Ding <no...@github.com>.
Merged #253 into master.

-- 
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#event-3495642148