mirror of
https://github.com/versity/scoutfs.git
synced 2026-07-19 22:42:40 +00:00
52563d3f73
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>