- 07 Nov, 2017 8 commits
-
-
Harris Hancock authored
-
Harris Hancock authored
Adds a new command to super-test.sh: ./super-test.sh cmake-package <config> where <config> is one of: - autotools-shared - autotools-static - cmake-shared - cmake-static This command tests the CMake config package files installed by the given build configuration. For now, that test consists of building the samples against an installation of Cap'n Proto.
-
Harris Hancock authored
-
Harris Hancock authored
These variables need to be cache variables or else the user can't override them on the command line (e.g. when building a project against a lite mode installation).
-
Harris Hancock authored
-
Harris Hancock authored
No change in behavior, but the comments needed updating, so I updated them. Then I noticed a never-true if() case and removed it.
-
Harris Hancock authored
Closes #523. Copied CMake's bundled AnyNewerVersion template to our local cmake/ directory, and modified both CMake and autotools scripts to configure/install it.
-
Harris Hancock authored
This completes the autotools installation of CMake config files, minus version compatibility checking.
-
- 16 Oct, 2017 5 commits
-
-
Harris Hancock authored
-
Harris Hancock authored
Includes a small refactor to eliminate the need to maintain two copies of the list of .pc files. (Note: there's actually a third copy of the list in CMakeLists.txt.)
-
Harris Hancock authored
Includes a small refactor to make adding filenames simpler.
-
Harris Hancock authored
-
Harris Hancock authored
kj-test and kj-http currently have their headers installed, and the CMake build exports them as targets, so I'm adding .pc.in files for them. I initially added capnpc as well, but that appears to be a private API.
-
- 14 Oct, 2017 1 commit
-
-
Kenton Varda authored
Memcpy null src
-
- 12 Oct, 2017 10 commits
-
-
Kenton Varda authored
Revert "Don't read past the end of the base64 decode out buffer."
-
Kenton Varda authored
-
Kenton Varda authored
Don't read past the end of the base64 decode out buffer.
-
Kenton Varda authored
Don't bind Header reference to a null pointer.
-
Kenton Varda authored
Variable-length arrays must have positive bound.
-
Edward Catmur authored
-
Edward Catmur authored
It is invalid to pass null as a pointer argument to memcpy/memcmp/memset, even if the count argument is zero: > Where an argument declared as size_t n specifies the length of the array for a function, n can have the value zero on a call to that function. Unless explicitly stated otherwise in the description of a particular function in this subclause, pointer arguments on such a call shall still have valid values [...] Detected by -fsanitize=nonnull-attribute.
-
Edward Catmur authored
If we finish decoding in step_a state, there is no current output character, so reading *plainchar will either be an uninitialized read or (if the output buffer is minimally sized) a past-the-end read. Detected by -fsanitize=address.
-
Edward Catmur authored
If recvData is empty, recvData.begin() is a null pointer and binding a Header reference to it is invalid. Detected by -fsanitize=null.
-
Edward Catmur authored
Detected by -fsanitize=vla-bound
-
- 03 Oct, 2017 2 commits
-
-
Kenton Varda authored
Generate ASLR-friendly numeric stack traces.
-
Kenton Varda authored
-
- 30 Sep, 2017 3 commits
-
-
Kenton Varda authored
Add Own<T>::attach() which is much like Promise<T>::attach()
-
Kenton Varda authored
-
Kenton Varda authored
-
- 26 Sep, 2017 2 commits
-
-
-
Kenton Varda authored
-
- 24 Sep, 2017 4 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
We don't support any extensions currently, but it's important that when acting as a proxy, we don't pass through this header, since it could result in the client and server negotiating extensions that the proxy doesn't understand and will botch.
-
- 23 Sep, 2017 1 commit
-
-
Kenton Varda authored
-
- 22 Sep, 2017 4 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
This is definitely wrong, because it makes the read/write tasks impossible to cancel and possibly makes them outlive the buffers they are reading from / writing to. I have no idea why I wrote the code this way, TBQH.
-
Kenton Varda authored
Don't reuse HTTP client connections if the previous request didn't read the entire response.
-
Kenton Varda authored
-