[PATCH v2] [xorg/xserver] os/client: Prevent rare fd leak in DetermineClientPid

Keith Packard keithp at keithp.com
Sun Mar 27 18:17:10 PDT 2011


On Fri, 25 Mar 2011 10:38:23 +0200, Erkki Seppälä <erkki.seppala at vincit.fi> wrote:

> DetermineClientPid didn't close file descriptor if read on
> /proc/pid/cmdline failed. Adjusted the code to disregard the close
> return value and perform the return after that, if the read failed or
> returned EOF.

Merged.
   cb5d4b4..2ef4ff4  master -> master

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110327/6f5ef5c4/attachment.pgp>


More information about the xorg-devel mailing list