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)
Sat, Nov 15, 12:57 PM
Unknown Object (File)
Nov 6 2025, 2:25 AM
Unknown Object (File)
Nov 5 2025, 12:42 PM
Unknown Object (File)
Nov 5 2025, 6:08 AM
Unknown Object (File)
Nov 4 2025, 7:07 PM
Unknown Object (File)
Nov 4 2025, 4:29 PM
Unknown Object (File)
Nov 4 2025, 4:29 PM
Unknown Object (File)
Nov 4 2025, 4:29 PM
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