Commit Graph

48 Commits (d103e1d83dcf6c2a9b93be0ac088cbda49d96d64)

Author SHA1 Message Date
Koichiro IWAO 780ba744f6
Revert "devredir: fix xinode leak"
This reverts commit 5daa09171e.

Causes "double free". Fix #990 was not correct.

```
[1271363627]: DEV_REDIR  dev_redir_proc_device_iocompletion: 738 : entered: IoStatus=0x0 CompletionId=1
[1271363627]: DEV_REDIR  dev_redir_proc_device_iocompletion: 839 : got CID_DIRECTORY_CONTROL
[1271363627]: DEV_REDIR  dev_redir_proc_query_dir_response: 933 : processing FILE_DIRECTORY_INFORMATION structs
[1271363627]: DEV_REDIR  dev_redir_proc_query_dir_response: 968 : FileName:          .
[1271363627]: DEV_REDIR  devredir_fuse_data_peek: 1335 : returning 0x7f2a9c013410
*** Error in `/usr/sbin/xrdp-chansrv': double free or corruption (out): 0x00007f2a9c13a330 ***
```

Closes: #1025
7 years ago
Koichiro IWAO 5daa09171e
devredir: fix xinode leak
Pointed out by: #919
7 years ago
Pavel Roskin 6ed4c969f4 Eliminate APP_CC and DEFAULT_CC 8 years ago
Pavel Roskin b2d3dcf169 Include config_ac.h from all source files 8 years ago
Jay Sorg a1aff316dc change log message to long long 8 years ago
Jay Sorg b5029c2596 sesman: fix warning for 32 bit / 64 bit log entry, trunc to 32 bit 8 years ago
Pavel Roskin e35b5a4708 Constify string arguments in xrdp-chansrv sources 8 years ago
Pavel Roskin 8ee886a5cc Don't log device_data_len in the code where it may be uninitialized
Log device_data_len only in the code that reads it.
8 years ago
Pavel Roskin 9a2e728396 Remove send_channel_data() from devredir.h, it's declared in chansrv.h
Include "chansrv.h" from devredir.c to have send_channel_data()
declaration.
8 years ago
Pavel Roskin e92c4f3b40 Use constant strings to fix warnings 8 years ago
Pavel Roskin 662172012b Call devredir_cvt_slash() on the path copy, it changes the argument 8 years ago
Pavel Roskin cbe413bd8b Fix return type of devredir_fuse_data_peek and devredir_fuse_data_dequeue 9 years ago
Pavel Roskin d1efb0d5ba Fix signed to unsigned comparisons reported by g++ 6.1.0 9 years ago
Pavel Roskin 5829323ad8 Use g_new or g_new0 when C++ compiler would complain about implicit cast 9 years ago
Pavel Roskin 1403652c72 Remove unused variable in devredir_cvt_from_unicode_len() 9 years ago
Pavel Roskin f2d326cbed Remove unused variables from dev_redir_proc_query_dir_response() 9 years ago
Pavel Roskin 92a6833e9b Fix typos 9 years ago
Laxmikant Rashinkar 1c423dadf4 coverity: copy into fixed sized buffer 11 years ago
Laxmikant Rashinkar fde7be5151 coverity: fixed issue argument cannot be negative 11 years ago
Laxmikant Rashinkar 0c63a8feb3 coverity: Dereference after null check 11 years ago
Laxmikant Rashinkar 3bb31876e7 coverity: fixed resolution leak issues 11 years ago
Laxmikant Rashinkar 06f01f6c37 Merge branch 'master' of github.com:neutrinolabs/xrdp 12 years ago
Laxmikant Rashinkar 379685bfca FUSE: we now process only one opendir command at a time 12 years ago
Jay Sorg 2d112bac8f chansrv: work on smart card 12 years ago
Jay Sorg a9f37229ac chansrv: work on smartcard 12 years ago
Laxmikant Rashinkar 6381941c78 FUSE: changed architecture to use opendir/readdir instead of just readdir 12 years ago
Jay Sorg e427113fa8 chansrv: work on smartcard redir 12 years ago
Jay Sorg 17bf2abe30 xorg driver, include cleanup 12 years ago
Jay Sorg 29420b3134 chansrv: no logic change, work on warning 12 years ago
Laxmikant Rashinkar 6ad1d7f78d folder redirection: fixed language issues 12 years ago
Laxmikant Rashinkar 2029867510 folder redirection: made changes to read/write routines to avoid race conditions 12 years ago
Laxmikant Rashinkar 652bacf07f file system redirection:
o vi now works with freerdp and rdesktop
12 years ago
Laxmikant Rashinkar 315ef8ad71 file system redirection:
o touch <file> was not working - fixed
    o echo "this is a string" > filename was not working - fixed
    o echo "this is a string" >> filename was not working - fixed
    o vi was not working - working now but swap files are not
      being deleted automatically - work in progress
12 years ago
Laxmikant Rashinkar 89b7cd269e smartcard: developer checkin for smartcard support 12 years ago
Laxmikant Rashinkar ca61050b74 file system redirection: resolved merge conflicts 12 years ago
Laxmikant Rashinkar 771e2248b2 file system redirection: made changes to support rdesktop 12 years ago
Jay Sorg e4b19abd1d chanarv: x prefix for stream functions to avoid name collision 12 years ago
Laxmikant Rashinkar 58158e6a3b hooked up clipboard code with FUSE 12 years ago
Laxmikant Rashinkar 97c483c8b3 swapped cb_lookup and cb_readdir 12 years ago
Laxmikant Rashinkar f021640369 folder redirection: we can now detect devices plugged in after a session has started 12 years ago
Laxmikant Rashinkar debdb031f1 o in file system redirection, added support for renaming files and directories 12 years ago
Laxmikant Rashinkar 5acc54cd1d o added support for deleteing files and directories 12 years ago
Laxmikant Rashinkar 78d4e19258 o early checkin for drive redirection
o basic drive redirection is working
o functions currently supported: open:
  read, write, create, get/set attribute
o requires latest NeutrinoRDP to work
o note: clipboard is broken because of the move from
        linked lists to inodes in the FUSE code
12 years ago
Laxmikant Rashinkar 1123323fda o moved from GNU General Public License to Apache License, Version 2.0
o applied new coding standards to all .c files
o moved some files around
13 years ago
Jay Sorg fdc6aaad8b chansrv: update license 13 years ago
jsorg71 d70d80a33d update copyright year 15 years ago
jsorg71 fa91c84668 first clipboard checkin 16 years ago
jsorg71 e1eb8bfcbc added device redir start files 16 years ago