diff options
author | Jeff King <peff@peff.net> | 2021-09-15 14:35:29 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-15 12:25:19 -0700 |
commit | f0a35c9ce52ade69311ab3b8cb111e145eb7b875 (patch) | |
tree | 30cf2a411084e1d88d60d3aa9fcd55b10ae4b36b /Documentation/RelNotes/2.6.4.txt | |
parent | serve: provide "receive" function for session-id capability (diff) | |
download | tgif-f0a35c9ce52ade69311ab3b8cb111e145eb7b875.tar.xz |
serve: drop "keys" strvec
We collect the set of capabilities the client sends us in a strvec.
While this is usually small, there's no limit to the number of
capabilities the client can send us (e.g., they could just send us
"agent" pkt-lines over and over, and we'd keep adding them to the list).
Since all code has been converted away from using this list, let's get
rid of it. This avoids a potential attack where clients waste our
memory.
Note that we do have to replace it with a flag, because some of the
flush-packet logic checks whether we've seen any valid commands or keys.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/2.6.4.txt')
0 files changed, 0 insertions, 0 deletions