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)
Sat, Dec 20, 8:13 AM
Unknown Object (File)
Thu, Nov 27, 11:32 PM
Unknown Object (File)
Nov 16 2025, 4:00 AM
Unknown Object (File)
Nov 16 2025, 1:56 AM
Unknown Object (File)
Nov 16 2025, 1:56 AM
Unknown Object (File)
Nov 16 2025, 12:00 AM
Unknown Object (File)
Nov 15 2025, 10:00 PM
Unknown Object (File)
Nov 12 2025, 3:52 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