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)
Mon, Feb 10, 9:59 AM
Unknown Object (File)
Sun, Feb 9, 8:35 AM
Unknown Object (File)
Nov 18 2024, 6:41 AM
Unknown Object (File)
Nov 18 2024, 6:23 AM
Unknown Object (File)
Nov 18 2024, 4:46 AM
Unknown Object (File)
Nov 10 2024, 9:22 AM
Unknown Object (File)
Oct 17 2024, 6:48 PM
Unknown Object (File)
Oct 10 2024, 5:53 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 Not Applicable
Unit
Tests Not Applicable