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)
Sun, Mar 22, 9:24 AM
Unknown Object (File)
Feb 28 2026, 3:09 AM
Unknown Object (File)
Feb 24 2026, 3:01 PM
Unknown Object (File)
Feb 21 2026, 4:15 AM
Unknown Object (File)
Feb 8 2026, 3:23 PM
Unknown Object (File)
Feb 7 2026, 10:24 PM
Unknown Object (File)
Jan 30 2026, 8:37 PM
Unknown Object (File)
Jan 14 2026, 11:41 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