aboutsummaryrefslogtreecommitdiff
path: root/src/net/http
diff options
context:
space:
mode:
authorYuval Pavel Zholkover <paulzhol@gmail.com>2018-10-10 23:32:36 +0300
committerBrad Fitzpatrick <bradfitz@golang.org>2018-10-12 14:55:06 +0000
commite19f5754640b0dd6a315edffcaef23c3cf2cefe6 (patch)
tree7d2787a479871ef571033f01a8c9267444886e37 /src/net/http
parent1f95e0a9d99c8307b24e8bf542ae0e093ee95838 (diff)
downloadgo-e19f5754640b0dd6a315edffcaef23c3cf2cefe6.tar.xz
syscall: correctly pad with NUL in FreeBSD convertFromDirents11
We weren't writing a terminating NUL after dstDirent.Namlen bytes of dstDirent.Name. And we weren't filling the possible additional bytes until dstDirent.Reclen. Fixes #28131 Change-Id: Id691c25225795c0dbb0d7004bfca7bb7fc706de9 Reviewed-on: https://go-review.googlesource.com/c/141297 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/net/http')
0 files changed, 0 insertions, 0 deletions