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)
Nov 19 2024, 11:13 AM
Unknown Object (File)
Nov 18 2024, 9:53 AM
Unknown Object (File)
Nov 16 2024, 7:19 AM
Unknown Object (File)
Oct 4 2024, 11:54 PM
Unknown Object (File)
Oct 2 2024, 1:29 PM
Unknown Object (File)
Oct 2 2024, 7:51 AM
Unknown Object (File)
Oct 1 2024, 7:24 PM
Unknown Object (File)
Oct 1 2024, 5:32 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