diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-03-28 11:16:45 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-03-28 11:17:16 -0400 |
commit | cd4b0f1d87e836e78c2de92623e20284a057b500 (patch) | |
tree | 0566ed5557f1fdd4ae012750354dec14b2b9ad10 /dir.c | |
parent | f9c18e80595fae26f1d45dab5427c7122d15cb35 (diff) | |
download | bfs-cd4b0f1d87e836e78c2de92623e20284a057b500.tar.xz |
fsade: Fix msan false positive in bfs_check_acl_type()
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -229,8 +229,8 @@ int bfs_readdir(struct bfs_dir *dir, struct bfs_dirent *de) { char *buf = (char *)(dir + 1); if (dir->pos >= dir->size) { - // Make sure msan knows the buffer is initialized #if BFS_HAS_FEATURE(memory_sanitizer, false) + // Make sure msan knows the buffer is initialized memset(buf, 0, BUF_SIZE); #endif |