mirror of
https://github.com/versity/scoutfs.git
synced 2026-04-23 23:10:31 +00:00
We shouldn't copy the entire _dirent struct and then copy in the name again right after, just stop at offsetoff(struct, name). Now that we're no longer copying the uninitialized name[3] from ent, there is no more possible 1-byte leak here, too. Signed-off-by: Auke Kok <auke.kok@versity.com>