Allocate enough memory to pervent SIGSEGV or SIGABRT due to write
authorbluhm <bluhm@openbsd.org>
Sun, 9 Jul 2023 09:33:30 +0000 (09:33 +0000)
committerbluhm <bluhm@openbsd.org>
Sun, 9 Jul 2023 09:33:30 +0000 (09:33 +0000)
commit63cd6ed3906b495e90f1710ea58c012bc61429dc
treeaff7bad6e64dd4205a3478472c57f7b497c30392
parentb96f4d5715baf410f71a05169547924fd1222398
Allocate enough memory to pervent SIGSEGV or SIGABRT due to write
after free.  There was confusion between size of struct and size
of pointer.
regress/sys/kern/unixsockets/unsendrecvthr.c