| ▲ | eqvinox 2 hours ago | |||||||||||||||||||||||||||||||
splice() should maybe generally refuse to operate on things you can't write to. | ||||||||||||||||||||||||||||||||
| ▲ | toast0 an hour ago | parent [-] | |||||||||||||||||||||||||||||||
splice is documented to return EBADF if "One or both file descriptors are not valid, or do not have proper read-write mode." So it seems surprising to me that you can call it when the out fd is not writable? But I didn't retain the information about the vulnerability, so I'm missing something. There was something about copy on write, IIRC? | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||