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, Feb 8, 3:23 PM
Unknown Object (File)
Sat, Feb 7, 10:24 PM
Unknown Object (File)
Fri, Jan 30, 8:37 PM
Unknown Object (File)
Jan 14 2026, 11:41 AM
Unknown Object (File)
Dec 11 2025, 7:27 PM
Unknown Object (File)
Nov 17 2025, 3:17 AM
Unknown Object (File)
Nov 5 2025, 7:00 PM
Unknown Object (File)
Nov 4 2025, 6:16 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