FreeRDP/channels/drive
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
..
client rdpdr/drive: fixes for hung peers & info requests 2014-09-02 15:42:44 +02:00
ChannelOptions.cmake Android: Added SDCard redirection support 2013-04-25 07:30:33 -07:00
CMakeLists.txt channels/drive: renamed to drive from disk for consistency with mstsc and accuracy (drive is more of a generic term, while disk does not apply to all) 2012-11-02 19:59:07 -04:00