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, Oct 5, 1:10 AM
Unknown Object (File)
Sun, Oct 4, 7:34 AM
Unknown Object (File)
Thu, Oct 1, 3:49 AM
Unknown Object (File)
Sat, Sep 19, 10:57 PM
Unknown Object (File)
Sat, Sep 19, 8:49 PM
Unknown Object (File)
Fri, Sep 18, 2:22 AM
Unknown Object (File)
Wed, Sep 16, 9:39 AM
Unknown Object (File)
Tue, Sep 15, 11: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