summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes/2.6.4.txt
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2021-09-15 14:35:29 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-15 12:25:19 -0700
commitf0a35c9ce52ade69311ab3b8cb111e145eb7b875 (patch)
tree30cf2a411084e1d88d60d3aa9fcd55b10ae4b36b /Documentation/RelNotes/2.6.4.txt
parentserve: provide "receive" function for session-id capability (diff)
downloadtgif-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