FreeBSD-SA-20:18.posix_spawnp

Status
Not open for further replies.

admin

Administrator
Staff member
Administrator
posix_spawnp spawns a new thread with a limited stack allocated on the heap before delegating to execvp for the final execution within that thread.

execvp would previously make unbounded allocations on the stack, directly proportional to the length of the user-controlled PATH environment variable.
Continue reading...
 
Status
Not open for further replies.
Back
Top