Commit graph

760 commits

Author SHA1 Message Date
Martin Dindoffer
2094289256 Avoid duplicate bitwise operations when reading primitive list pointers 2022-08-08 16:28:52 +01:00
Martin Dindoffer
e8338d826e Performance-related cleanup
* Remove unnecessary bitwise and in WirePointer
* Remove always true condition in Serialize
* Pre-size segment ArrayList in Serialize
* Remove unused local var in Serialize
* Remove unnecessary bit shift in PackedOutputStream#write
* Make fields final in BuilderArena and Serialize
* Make Iterator classes static in DataList and TextList
* Pre-size ArrayList in ReaderArena constructor
2022-08-08 16:28:52 +01:00
Martin Dindoffer
04d0692c64 Fix integer overflow when calculating zeroing range in zeroObject
Lists can have up to 29 bits of elements. We multiply that by a constant of 8 (Bytes per word), so basically any element size can cause on overflow.
2022-08-08 16:28:52 +01:00
Martin Dindoffer
58c906f555 Introduce constant for nesting limit in LayoutTest 2022-08-08 16:28:52 +01:00
Martin Dindoffer
529a3daa6f Fix integer overflow in setListPointer size calculation 2022-08-08 16:28:52 +01:00
Martin Dindoffer
b1eadaee6c Fix intege overflow in _setBooleanElement in a primitive list 2022-08-08 16:28:52 +01:00
Martin Dindoffer
89d1c5722e Fix integer overflow in computeSerializedSizeInWords 2022-08-08 16:28:52 +01:00
Martin Dindoffer
e77372b1cd Fix integer overflow in bounds checking 2022-08-08 16:28:52 +01:00
Vaci
ced3f11e6f
Specify OpenJDK version for JitPack (#28)
Co-authored-by: octeep <octeep@pm.me>
2022-08-08 14:51:46 +01:00
Vaci
af9c1090b9
CI token (#31)
* replace ACTION_TOKEN with GITHUB_TOKEN

* try removing token
2022-08-08 14:41:11 +01:00
Vaci Koblizek
949103ca5d Merge remote-tracking branch 'sandstorm/master' 2022-05-02 17:18:21 +01:00
Martin Dindoffer
89db62ae9a #122 Add bound checks for struct size
Also fix incorrect bounds comparison in SegmentReader
2022-04-09 10:36:07 -04:00
Vaci
01b5a6c292
Merge pull request #25 from jan-br/master
Fix generic structs with non-generic interface as type parameter
2022-04-06 15:18:11 +01:00
jan
3119bb5fab Fix generic structs with non-generic interface as type parameter. 2022-03-21 01:27:06 +01:00
Vaci
88182b9b30
Merge pull request #24 from vaci/vaci/portability
Patches to assist porting back to official release
2022-03-12 10:53:38 +00:00
Vaci Koblizek
7c521d5840 avoid var in ClientHook 2022-03-06 16:47:37 +00:00
Vaci Koblizek
3ec3dbae57 remove captable contexts from capability 2022-03-06 16:47:19 +00:00
Vaci Koblizek
f510bd19aa move captable contexts 2022-03-06 16:46:39 +00:00
Vaci
8c6b9c8caa Avoid use of var 2022-03-06 16:37:33 +00:00
Vaci Koblizek
4171577bf0 Move NULL and BROKEN brands to ClientHook 2022-03-06 14:09:49 +00:00
Vaci
59701de848 Provide fallback to original interface. 2022-03-06 14:09:42 +00:00
Vaci
845186f15e
Merge pull request #23 from vaci/vaci/unused-import
remove unused import
2022-03-06 13:49:55 +00:00
Vaci
3b4ee42cc3
remove unused import 2022-03-06 13:32:01 +00:00
Vaci
97e4766f49
Merge pull request #22 from vaci/vaci/rpc-ordering
Track fix to ordering bug in C++ implementation
2022-03-05 17:41:30 +00:00
Vaci Koblizek
42d5535e9a Track fix to ordering bug as described here:
https://github.com/capnproto/capnproto/pull/1006
6f77d09216
2022-03-05 17:03:03 +00:00
Florian Schmaus
8aa4aaae16 Makefile: respect CFLAGS and LDFLAGS 2021-12-20 17:33:22 -05:00
Vaci
2e319ceabc
Merge pull request #20 from vaci/vaci/merge2
merge from upstream
2021-11-10 21:26:43 +00:00
Vaci Koblizek
9bb1032274 avoid truncating struct size 2021-11-10 12:13:27 +00:00
Vaci Koblizek
84dcb10085 correct pom version 2021-11-10 11:47:03 +00:00
Vaci Koblizek
9a32482541 Merge remote-tracking branch 'sandstorm/master' into vaci/merge2 2021-11-10 11:15:53 +00:00
Vaci
d3bdb293f4
Merge pull request #19 from aarcangeli/patch-1 2021-11-05 17:41:00 +00:00
Alessandro Arcangeli
2731586bb9
fix "questionId is already in use" error 2021-10-16 13:30:47 +02:00
Martin Dindoffer
2f7ce185bb Add advisories for recently found vulnearbilities 2021-10-11 11:08:50 -04:00
David Renshaw
0eb4abed7a bump to 0.1.14-SNAPSHOT 2021-10-11 11:06:05 -04:00
David Renshaw
3474af3973 prepare for v0.1.13 release 2021-10-11 10:57:32 -04:00
David Renshaw
ab303cbc28 add more robustness to integer wrapping problems 2021-10-08 14:24:22 -04:00
David Renshaw
059252cba5 bump to v0.1.13-SNAPSHOT 2021-10-05 17:17:15 -04:00
David Renshaw
335f56f73b prepare for v0.1.12 release 2021-10-05 17:07:23 -04:00
David Renshaw
57dec34d2c fix bug in short to int conversion in StructPointer 2021-10-05 17:03:57 -04:00
David Renshaw
c1cb55e277 bump to v0.1.12-SNAPSHOST 2021-10-01 22:16:17 -04:00
David Renshaw
2efe917ffc prepare for v0.1.11 release 2021-10-01 22:03:53 -04:00
David Renshaw
8f5f200858 verify that a list pointer has the correct kind 2021-10-01 21:59:52 -04:00
David Renshaw
104fb11104 add bounds checking in readListPointer 2021-10-01 21:59:21 -04:00
David Renshaw
ddd43a491b throw exception on negative segment sizes 2021-10-01 21:56:49 -04:00
David Renshaw
f3e66a6e0b update versions to 0.1.11-SNAPSHOT 2021-08-27 21:23:00 -04:00
David Renshaw
b1a197be75 prepare for 0.1.10 release 2021-08-27 21:13:49 -04:00
Vaci
eab88298e2
Merge pull request #18 from vaci/vaci/merge-0110
Merge from upstream 0.1.10
2021-08-21 09:38:31 +01:00
Vaci Koblizek
f37f934c6b wqbump runtime-rpc dependencies to 0.1.10 2021-08-19 10:55:36 +01:00
Vaci Koblizek
6e3fa81ada add some colour to the README 2021-08-19 10:36:46 +01:00
Vaci Koblizek
4fc6ffdce5 try fixing jdk version to 11 2021-08-19 10:05:52 +01:00