Is there a race condition between qmail-lspawn and qmail-local around
the r & s parameters to spawn?

spqwn.c/qmail-lspawn.c set up pointers to stralloc.s's in qmail-local's
argv array. These stralloc structures will be replaced with values for
the next email to process. Is there a race condition in which these
values could be overlaid while qmail-local is still processing them?
Specifically I wonder about the the s and r variables (sender and
recipient stralloc.s pointers). They are not copied into new structures
immediately within a stack frame specific to the new qmail-local, so it
looks like there might be a race condition. Did I miss something?

-- 
Daemeon Reiydelle
Systems Engineer, Anthropomorphics Inc.
[EMAIL PROTECTED]

Reply via email to