This issue is related to #13:
In the TaLoS codebase, [user_check] is widely used (there are 369 instances of it in https://github.com/lsds/TaLoS/blob/master/src/talos/enclaveshim/enclave.edl). However, in most cases these pointers are never checked for inside/outside enclave.
The fix for #13 addressed one instance, but there are many more as far as I can see, for example:
https://github.com/lsds/TaLoS/blob/master/src/talos/patch/ssl_lib.c.patch#L694
This might also affect a lot of uses of SSL *s, as this pointer is also [user_check], and usually read from and written to (via https://github.com/lsds/TaLoS/blob/master/src/talos/patch/ssl_lib.c.patch#L725) without checking in most cases.
This issue is related to #13:
In the TaLoS codebase,
[user_check]is widely used (there are 369 instances of it in https://github.com/lsds/TaLoS/blob/master/src/talos/enclaveshim/enclave.edl). However, in most cases these pointers are never checked for inside/outside enclave.The fix for #13 addressed one instance, but there are many more as far as I can see, for example:
https://github.com/lsds/TaLoS/blob/master/src/talos/patch/ssl_lib.c.patch#L694
This might also affect a lot of uses of
SSL *s, as this pointer is also[user_check], and usually read from and written to (via https://github.com/lsds/TaLoS/blob/master/src/talos/patch/ssl_lib.c.patch#L725) without checking in most cases.