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)
Tue, Apr 29, 10:12 AM
Unknown Object (File)
Tue, Apr 1, 4:12 PM
Unknown Object (File)
Mar 11 2025, 9:55 AM
Unknown Object (File)
Mar 2 2025, 9:21 AM
Unknown Object (File)
Feb 11 2025, 11:10 AM
Unknown Object (File)
Nov 19 2024, 11:13 AM
Unknown Object (File)
Nov 18 2024, 9:53 AM
Unknown Object (File)
Nov 16 2024, 7:19 AM
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