Skip to content

gethostbyname fixes

David Turner git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 15 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2use HOST_NAME_MAX to size buffers for gethostname(2)builtin/gc.c builtin/receive-pack.c daemon.c +3 more+14 -1010 replies
2/2xgethostname: handle long hostnamesbuiltin/gc.c builtin/receive-pack.c fetch-pack.c +3 more+19 -45 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchDavid TurnerJonathan Nieder
1/2Inspired-by R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] gethostbyname fixes

This version includes Junio's fixup to René's patch, and then my patch rebased on top of René's. I thought it was easier to just send both in one series, than to have Junio do a bunch of conflict resolution. I think this still needs Junio's signoff on the first patch, since I've added his code.

David Turner (1):
xgethostname: handle long hostnames

René Scharfe (1):
use HOST_NAME_MAX to size buffers for gethostname(2)

 builtin/gc.c           | 12 ++++++++----
 builtin/receive-pack.c |  4 ++--
 daemon.c               |  4 ----
 fetch-pack.c           |  4 ++--
 git-compat-util.h      |  6 ++++++
 ident.c                |  4 ++--
 wrapper.c              | 13 +++++++++++++
 7 files changed, 33 insertions(+), 14 deletions(-)
Signature · 1 line
2.11.GIT