diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-07-23 22:56:49 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-07-23 22:56:49 +0200 |
commit | 497daed116714a8c3f91162fe02ca81ad33bb6fa (patch) | |
tree | 0d24ed9e786d2635b8283cb6ecdeb38d0a75a6bf /lib | |
parent | 323184d775b92c50bb37fa0b3ae73a16138f8b7e (diff) | |
download | plan9front-497daed116714a8c3f91162fe02ca81ad33bb6fa.tar.xz |
kernel: make sure fd is in range in fdclose()
as the Fgrp can be shared with other processes, we have to
recheck the fd index after locking the Fgrp in fdclose()
to make sure not to read beyond the bounds of the fd array.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions