Page MenuHomeFreeBSD

libc: iconv: zero out cv_shared on allocation
ClosedPublic

Authored by kevans on Aug 22 2023, 3:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 17, 3:17 AM
Unknown Object (File)
Wed, Nov 5, 7:00 PM
Unknown Object (File)
Tue, Nov 4, 6:16 AM
Unknown Object (File)
Oct 29 2025, 5:39 PM
Unknown Object (File)
Oct 29 2025, 5:33 PM
Unknown Object (File)
Oct 29 2025, 5:31 PM
Unknown Object (File)
Oct 27 2025, 4:59 PM
Unknown Object (File)
Oct 22 2025, 9:29 PM
Subscribers

Details

Summary

Right now we have to zero-initialize most fields in the varius callers,
but this is a little error prone. Simplify it by zeroing it out upon
allocation instead, drop the other redundant initialization.

Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable