GrapheneOS / Vanadium

Privacy and security enhanced releases of Chromium for GrapheneOS. Vanadium provides the WebView and standard user-facing browser on GrapheneOS. It depends on hardening in other GrapheneOS repositories and doesn't include patches not relevant to the build targets used on GrapheneOS.
https://vanadium.app/
Other
886 stars 69 forks source link

hCaptcha crashes #214

Closed ljrk0 closed 2 years ago

ljrk0 commented 2 years ago

Hello,

Vanadium unfortunately is unable to use web sites using hCaptcha. To verify, click on

https://accounts.hcaptcha.com/demo

and try to solve the captcha, as seen in the screen record:

https://user-images.githubusercontent.com/7831843/183425264-26fd0ff5-5558-48fc-a4f1-77bdf1d582ce.mp4

qua3k commented 2 years ago

It’s crashing because __cxa_atexit calls mremap internally, see https://github.com/GrapheneOS/platform_bionic/commit/afa983c8d44400d45c1f0e2b8e90a8be04acf6f7

qua3k commented 2 years ago

The libc should be audited for other operations directly remapping memory rather than going through malloc.

thestinger commented 2 years ago

I'll revert this change.