HomeFreeBSD

cron: Use reallocarray() to prevent integer overflow

Description

cron: Use reallocarray() to prevent integer overflow

Apply OpenBSD env.c,v 1.24 and 1.25, which replaces manual size
calculations with reallocarray() to prevent possible integer
overflow.

MFC after: 3 days

Details

Provenance
delphijAuthored on Nov 3 2025, 5:59 AM
Parents
rG088ced14a69b: UPDATING: Add an entry for e5aa60d06958
Branches
Unknown
Tags
Unknown