diff options
author | eldritch horrors <pennae@lix.systems> | 2024-03-24 15:57:49 +0100 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-03-24 18:45:22 +0000 |
commit | c856b82c2e29bc900a6d4135b8bb5cc759630bac (patch) | |
tree | d2e9765809ddc638aa81dc7fb1bcedf912cc4666 /misc/fish | |
parent | 3e428f2289d0cb1277e013cd7f37754d7c533ddf (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 'misc/fish')
0 files changed, 0 insertions, 0 deletions