In pipe_build_write_buffer we increment uio_iov but did not update uio_iovcnt. This would not cause an OOB read (thanks to to uio_resid) but is inconsistent and could be an issue if other code changes are made in the future.
Reported by: Synactiv
Differential D45999
pipe: keep uio_iovcnt consistent emaste on Jul 17 2024, 5:15 PM. Authored by Tags None Referenced Files
Subscribers
Details In pipe_build_write_buffer we increment uio_iov but did not update uio_iovcnt. This would not cause an OOB read (thanks to to uio_resid) but is inconsistent and could be an issue if other code changes are made in the future. Reported by: Synactiv
Diff Detail
|