aboutsummaryrefslogtreecommitdiff
path: root/clang-tidy
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-24 15:57:49 +0100
committereldritch horrors <pennae@lix.systems>2024-03-24 18:45:22 +0000
commitc856b82c2e29bc900a6d4135b8bb5cc759630bac (patch)
treed2e9765809ddc638aa81dc7fb1bcedf912cc4666 /clang-tidy
parent3e428f2289d0cb1277e013cd7f37754d7c533ddf (diff)
libstore: despecialcase protocol version check
protocol versions are sent as u64. on the peer we read them as uint64, check that the upper half is 0, and throw an exception if not. we then read an arbitrary amount of data from the peer and dump it to the user terminal. this is a little bit ridiculous, can never happen in correct implementation, and is severly untested. let us just drop it entirely. Change-Id: Ibd2f53a765341ed6439d40d9d1eac11e79c6b5e3
Diffstat (limited to 'clang-tidy')
0 files changed, 0 insertions, 0 deletions