Page MenuHomeFreeBSD

xlocale.c: check for allocation failure
ClosedPublic

Authored by kib on Feb 2 2022, 5:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Aug 8, 4:33 AM
Unknown Object (File)
Wed, Jul 23, 10:31 AM
Unknown Object (File)
Jul 16 2025, 10:15 AM
Unknown Object (File)
Jul 14 2025, 2:15 PM
Unknown Object (File)
Jul 14 2025, 12:32 AM
Unknown Object (File)
Jul 10 2025, 1:34 PM
Unknown Object (File)
Jul 10 2025, 12:54 PM
Unknown Object (File)
Jul 10 2025, 8:04 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Feb 2 2022, 5:35 PM

All of the other calloc() calls in libc/locale/*.c have the same bug.

This revision is now accepted and ready to land.Feb 2 2022, 5:44 PM

Handle all calloc() invocations in locale/.

This revision now requires review to proceed.Feb 2 2022, 6:19 PM
This revision is now accepted and ready to land.Feb 2 2022, 9:13 PM