Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/compat/nss_compat.h
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2013-08-31 22:27:51 +0200
committerArthur de Jong <arthur@arthurdejong.org>2013-08-31 22:46:26 +0200
commit07a8170330cd289ee9cba0ce5d579d2695e64b8f (patch)
treeb1af23a56c91238069ef76263997757f330ace4f /compat/nss_compat.h
parent4897033a912d513be82268b20fe73190684960fe (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