Page MenuHomeFreeBSD

ext4_ext_tree_init: correct memset initialization
ClosedPublic

Authored by rlibby on Jun 23 2024, 3:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 10, 9:22 AM
Unknown Object (File)
Oct 17 2024, 6:48 PM
Unknown Object (File)
Oct 10 2024, 5:53 AM
Unknown Object (File)
Sep 22 2024, 11:28 PM
Unknown Object (File)
Sep 17 2024, 1:25 AM
Unknown Object (File)
Sep 4 2024, 10:39 AM
Unknown Object (File)
Sep 3 2024, 2:29 AM
Unknown Object (File)
Aug 22 2024, 3:18 AM
Subscribers

Details

Summary

gcc -Wmemset-elt-size diagnosed this. The code was only initializing
1/4 of the array. However, it was actually harmless, as the only caller
had done an M_ZERO allocation anyway.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 58311
Build 55199: arc lint + arc unit