commit | 0b1b48c11bc1da2263ecf44f38765ed441afc486 | [log] [tgz] |
---|---|---|
author | Wiktor Garbacz <wiktorg@google.com> | Tue Apr 09 02:58:15 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Apr 09 02:59:07 2024 -0700 |
tree | 9d43efa7b2eec7bc445082775dd710ad0dd2b896 | |
parent | aa6ed458ba1fd3b289aea072d55676eaa18f9e55 [diff] |
Use buffer size in `LenVal::GetDataSize` If `TransferFromSandboxee` fails, the size saved in struct might not correspond to size of buffer, possibly leading to OOB reads/writes in user code. PiperOrigin-RevId: 623106099 Change-Id: I61b070bba5fc81b13558d0c415a08cd4ee95c685
Copyright 2019-2023 Google LLC
The Sandboxed API project (SAPI) makes sandboxing of C/C++ libraries less burdensome: after initial setup of security policies and generation of library interfaces, a stub API is generated, transparently forwarding calls using a custom RPC layer to the real library running inside a sandboxed environment.
Additionally, each SAPI library utilizes a tightly defined security policy, in contrast to the typical sandboxed project, where security policies must cover the total syscall/resource footprint of all its libraries.
Developer documentation is available on the Google Developers site for Sandboxed API.
There is also a Getting Started guide.
If you want to contribute, please read CONTRIBUTING.md and send us pull requests. You can also report bugs or file feature requests.
If you'd like to talk to the developers or get notified about major product updates, you may want to subscribe to our mailing list or sign up with this link.