- 07 Apr, 2017 15 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
Fix build with -fno-exceptions
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
This includes making builders a little more tolerant of corrupt data. Note that our threat model generally does not expect this tolerance -- we expect that builders always contain either structures created locally or copied in from a reader, which does a certain amount of validation in itself.
-
Kenton Varda authored
-
Kenton Varda authored
Actually implement integer overflow guards
-
- 06 Apr, 2017 3 commits
-
-
Kenton Varda authored
fix typo: unconstained -> unconstrained
-
David Renshaw authored
-
Kenton Varda authored
add David Renshaw to CONTRIBUTORS
-
- 05 Apr, 2017 1 commit
-
-
David Renshaw authored
-
- 31 Mar, 2017 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
- 30 Mar, 2017 8 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
Since this header is included by everyone, and units.h has lots of templates, this seems like it could significantly improve build times.
-
Kenton Varda authored
-
Kenton Varda authored
Don't allow kj::maxValue / kj::minValue for Guarded types, since they'll break down when CAPNP_DEBUG_TYPES is off.
-
Kenton Varda authored
-
Kenton Varda authored
TODO: - Rename Guarded to Bounded? - Consider bounded array (where size and indexes are bounded quantities). - Implement non-CAPNP_DEBUG_TYPES fallback. - Don't allow casting kj::maxValue to bounded type, this won't work right when not using debug types! - Verify that this change doesn't hurt performance.
-
Kenton Varda authored
-
Kenton Varda authored
-
- 29 Mar, 2017 1 commit
-
-
Kenton Varda authored
-
- 27 Mar, 2017 1 commit
-
-
Kenton Varda authored
-
- 24 Mar, 2017 5 commits
-
-
Kenton Varda authored
See: https://capnproto.org/news/2015-03-02-security-advisory-and-integer-overflow-protection.html This commit as-is is the result of wading through two years of merge conflicts. It does not build as-is because new code added in that time hasn't been converted over.
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
The problem with kj::range() is that if the inputs are not recognized as the same type, the typechecker can get annoyed.
-
Kenton Varda authored
-
- 19 Mar, 2017 1 commit
-
-
Kenton Varda authored
-
- 18 Mar, 2017 2 commits
-
-
Kenton Varda authored
omit needless memset
-
Kenton Varda authored
remove unneeded kj-async dependency in Makefile.am and capnp-json.pc.in
-
- 17 Mar, 2017 1 commit
-
-
David Renshaw authored
-