This is an archive of the discontinued LLVM Phabricator instance.

ConnectionFileDescriptor::BytesAvailable reading too many command bytes
ClosedPublic

Authored by vharron on Apr 19 2015, 8:44 AM.

Details

Summary

ConnectionFileDescriptor::BytesAvailable was reading multiple command
bytes from the command pipe but only processing the first. This
change only allows one byte to be read at a time, ensuring that all
get handled.

This isn't known to cause any bugs, but it might cause current/future
bugs.

Diff Detail

Repository
rL LLVM

Event Timeline

vharron updated this revision to Diff 23993.Apr 19 2015, 8:44 AM
vharron retitled this revision from to ConnectionFileDescriptor::BytesAvailable reading too many command bytes.
vharron updated this object.
vharron edited the test plan for this revision. (Show Details)
vharron added a reviewer: clayborg.
vharron added subscribers: zturner, Unknown Object (MLST).
clayborg accepted this revision.Apr 20 2015, 9:32 AM
clayborg edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Apr 20 2015, 9:32 AM
This revision was automatically updated to reflect the committed changes.