stdlib: resolve a double lock init issue after fork [BZ #32994]

Florian Weimer fweimer@redhat.com
Mon Jun 16 18:20:11 GMT 2025


* Davide Cavalca:

> +  memcpy (&lock, &reset_lock, sizeof(lock));

May I change this line to

+  memcpy (&lock, &reset_lock, sizeof (lock));

(one more space)?  Then I think it's ready to go in.

Reviewed-by: Florian Weimer <fweimer@redhat.com>

Thanks,
Florian



More information about the Libc-alpha mailing list