summaryrefslogtreecommitdiff
path: root/net/trafshow
diff options
context:
space:
mode:
authoragc <agc>2002-03-22 11:26:04 +0000
committeragc <agc>2002-03-22 11:26:04 +0000
commitc842bd97b2c5c1c90f91e0ab1373873a5a861a39 (patch)
treedb2c3170a98a57fae98ea234380b7fe1fc649021 /net/trafshow
parentd58561eca7d45319561f89b48609aa24138e71be (diff)
downloadpkgsrc-c842bd97b2c5c1c90f91e0ab1373873a5a861a39.tar.gz
The ORBit code doesn't check the number of iovec structs before it
calls writev(2). Some of the applications which use ORBit, such as oaf, can send 1214 iovecs, which is slightly more than IOV_MAX. Add a wrapper for writev(2), to check the number of iovecs passed to writev, and loop, sending MIN(IOV_MAX, count) until the iovecs have all been written.
Diffstat (limited to 'net/trafshow')
0 files changed, 0 insertions, 0 deletions