aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/commit_walker_path.go
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-04-23 17:47:05 -0500
committerKyle Evans <kevans@FreeBSD.org>2020-04-23 18:19:22 -0500
commit63967abe62ecba22a792e728f1af509f3604881f (patch)
tree2046075da6803e110c9d6272d0f49f9f7020d7d3 /plumbing/object/commit_walker_path.go
parent9c7d576132a760645e3a6b3ebdf51c4aef532794 (diff)
downloadgo-git-63967abe62ecba22a792e728f1af509f3604881f.tar.gz
storage/filesystem: dotgit, sanity check provided reference path
On some operating systems, read() of a directory fd may actually succeed and return garbage resembling on-disk contents. As a result, dotgit may return successful from readReferenceFile() when it should in-fact not. This fixes readReferenceFile() on FreeBSD. Signed-off-by: Kyle Evans <kevans@FreeBSD.org>
Diffstat (limited to 'plumbing/object/commit_walker_path.go')
0 files changed, 0 insertions, 0 deletions