aboutsummaryrefslogtreecommitdiff
path: root/cmd/fscrypt/fscrypt.go
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2021-12-19 21:20:54 -0600
committerEric Biggers <ebiggers@google.com>2021-12-19 21:43:34 -0600
commit546dd336d15251981bb8bcb30c159d0a39bb387e (patch)
tree12fd2292652b5ccc8e31ff82773b6a8b5213b1ae /cmd/fscrypt/fscrypt.go
parent360467d0df626d2d0eac003a0a210814910804ce (diff)
pam: avoid compiler warning in copyIntoSecret()
gcc 11 enabled -Wmaybe-uninitialized by default. It causes a false-positive warning in copyIntoSecret() because gcc doesn't understand that mlock() is special and doesn't read from the memory. Just initialize the memory to avoid this warning.
Diffstat (limited to 'cmd/fscrypt/fscrypt.go')
0 files changed, 0 insertions, 0 deletions