Skip to content
  • Junio C Hamano's avatar
    Merge branch 'jk/daemon-path-ok-check-truncation' into maint · aa22ef8a
    Junio C Hamano authored
    "git daemon" used fixed-length buffers to turn URL to the
    repository the client asked for into the server side directory
    path, using snprintf() to avoid overflowing these buffers, but
    allowed possibly truncated paths to the directory.  This has been
    tightened to reject such a request that causes overlong path to be
    required to serve.
    
    * jk/daemon-path-ok-check-truncation:
      daemon: detect and reject too-long paths
    aa22ef8a