diff options
| author | Kentaro Hayashi <hayashi@clear-code.com> | 2016-07-21 16:02:21 +0900 |
|---|---|---|
| committer | Kentaro Hayashi <hayashi@clear-code.com> | 2016-07-21 16:02:21 +0900 |
| commit | 8f3fb2f7c8ecd993b432796902446e643689b513 (patch) | |
| tree | 8849815cc449e4fbddace37e007b4ee5face95ac /sesman/libscp/libscp_v1c.c | |
| parent | 9ccbfb698530966ad51574a8e7e56991f6ef94bd (diff) | |
| download | xrdp-proprietary-8f3fb2f7c8ecd993b432796902446e643689b513.tar.gz xrdp-proprietary-8f3fb2f7c8ecd993b432796902446e643689b513.zip | |
chansrv: avoid chansrv SEGV when xinode is NULL
When xfuse_create_file_in_xrdp_fs is failed, it returns NULL.
Without this fix, xinode->size causes SEGV, so implementation is changed
to return -1 and check the return value in caller.
Diffstat (limited to 'sesman/libscp/libscp_v1c.c')
0 files changed, 0 insertions, 0 deletions
