FreeRDP/channels
Norbert Federa e393499ff8 rdpdr/drive: fixes for hung peers & info requests
drive_file_init: only allow directories and regular files
This is fixes issue #2071

Even if the server is only interested in getting a file's or directory's
attributes FreeRDP still tries to open the object with read permissions.
If the FreeRDP client has no read permissions for this object the call will
fail which forces the server to perform some expensive workarounds (e.g.
getting to the stat buffers via a directory enumeration request).

On Linux we can try to open the file or directory with the O_PATH flag in
order to obtain a file descriptor who's only purpose is to perform operations
that act purely at the file descriptor level.
2014-09-02 15:42:44 +02:00
..
audin Using special log defines for channels now. 2014-08-11 09:12:01 +02:00
client winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
cliprdr Using special log defines for channels now. 2014-08-11 09:12:01 +02:00
disp Merge branch 'master' of github.com:FreeRDP/FreeRDP 2014-08-11 10:36:07 -04:00
drdynvc channels: fix memory leak in stream pools. 2014-08-28 23:16:32 +08:00
drive rdpdr/drive: fixes for hung peers & info requests 2014-09-02 15:42:44 +02:00
echo Merge branch 'master' of github.com:FreeRDP/FreeRDP 2014-08-11 10:36:07 -04:00
encomsp freerdp: fix build warnings 2014-08-18 17:25:48 -04:00
parallel winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
printer Fixed missing includes and invalid replacement. 2014-08-11 09:38:08 +02:00
rail Using special log defines for channels now. 2014-08-11 09:12:01 +02:00
rdpdr Using special log defines for channels now. 2014-08-11 09:12:01 +02:00
rdpei Using special log defines for channels now. 2014-08-11 09:12:01 +02:00
rdpgfx libfreerdp-codec: cleanup and fix __lzcnt on Windows 2014-08-11 18:48:42 -04:00
rdpsnd Fixed missing includes and invalid replacement. 2014-08-11 09:38:08 +02:00
remdesk Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow 2014-08-11 19:22:33 -04:00
serial winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
server echo: add server echo channel api. 2014-07-15 11:42:12 +08:00
smartcard Using special log defines for channels now. 2014-08-11 09:12:01 +02:00
tsmf Merge pull request #2027 from akallabeth/winpr-log 2014-08-11 10:38:28 -04:00
urbdrc Using special log defines for channels now. 2014-08-11 09:12:01 +02:00
CMakeLists.txt channels: cmake cleanup, USB redirection refactoring 2012-11-20 19:34:52 -05:00