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.

(cherry picked from commit 40d21618382108fefa84f8576b14302f65452718)

Details

Provenance
delphijAuthored on Nov 3 2025, 5:59 AM
Parents
rG4fbf901a2925: openssh: Handle localtime_r() failure by return "UNKNOWN-TIME"
Branches
Unknown
Tags
Unknown