Closed jwt27 closed 1 year ago
Now returns EINVAL, and also checks if the sum of all iov_lens stays below INT_MAX. The loops are split in two, to ensure that all iovecs are valid before any bytes are received/transmitted.
iov_len
Merged & thanks!
Now returns EINVAL, and also checks if the sum of all
iov_len
s stays below INT_MAX. The loops are split in two, to ensure that all iovecs are valid before any bytes are received/transmitted.