off-by-one errors in git-daemon
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | t5570: use ls-remote instead of clone for interp testst/ | +3 | 0 replies | |
| 2/6 | t/lib-git-daemon: record daemon logt/ | +10 | 2 replies | |
| 3/6 | daemon: fix off-by-one in logging extended attributesdaemon.c t/ | +13 | 0 replies | |
| 4/6 | daemon: handle NULs in extended attribute stringdaemon.c t/ | +9 | 0 replies | |
| 5/6 | t/lib-git-daemon: add network-protocol helperst/ t/ | +58 | 0 replies | |
| 6/6 | daemon: fix length computation in newline strippingdaemon.c t/ | +17 | 2 replies |
Reviews trailers per patch
None of the 6 patches has a Reviewed-by or Acked-by.
| Patch | Lucas Werkmeister |
|---|---|
| Series | Helped-by |
| 1/6 | |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] off-by-one errors in git-daemon
This series fixes two off-by-one errors in git-daemon noticed by Michael (who then nerd-sniped me into fixing them). It also improves git-daemon's verbose logging of extended attributes, and beefs up the tests a bit.
Before anyone gets excited, no, these aren't security-interesting errors. The only effect you could have is for git-daemon to reject your request as nonsense. ;)
[1/6]: t5570: use ls-remote instead of clone for interp tests [2/6]: t/lib-git-daemon: record daemon log
[3/6]: daemon: fix off-by-one in logging extended attributes [4/6]: daemon: handle NULs in extended attribute string [5/6]: t/lib-git-daemon: add network-protocol helpers [6/6]: daemon: fix length computation in newline stripping
daemon.c | 15 ++++++--------- t/lib-git-daemon.sh | 37 ++++++++++++++++++++++++++++++++++--- t/t5570-git-daemon.sh | 37 +++++++++++++++++++++++++++++++------ t/test-lib-functions.sh | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 105 insertions(+), 18 deletions(-)
-Peff