On 23/12/24 11:46AM, Rene Kita wrote: > > + if (!from) { > > + len = 0; > > + t = NULL; > > + } else {
This seems redundant. Normally, NULL shouldn't be passed, and even if it is, it is the responsibility of the "user-programmer" (think libc functions). This is further backed by the standard pattern of always checking for failed malloc.
signature.asc
Description: PGP signature