diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2013-08-31 22:27:51 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2013-08-31 22:46:26 +0200 |
commit | 07a8170330cd289ee9cba0ce5d579d2695e64b8f (patch) | |
tree | b1af23a56c91238069ef76263997757f330ace4f /compat/nss_compat.h | |
parent | 4897033a912d513be82268b20fe73190684960fe (diff) |
Fix buffer overflow on interupted read
The tio_read() function will read past its buffer and return garbadge to
the calling function if the call to read() was interrupted by a signal.
The likelyhood of read() being interupted is low because previously a
call to poll() has determined that data is available to be read.
Thanks to John Sullivan for pointing this out.
See:
https://bugzilla.redhat.com/show_bug.cgi?id=1003011
Diffstat (limited to 'compat/nss_compat.h')
0 files changed, 0 insertions, 0 deletions