diff options
| author | Pavel Roskin <plroskin@gmail.com> | 2016-11-11 20:41:10 +0000 |
|---|---|---|
| committer | Pavel Roskin <plroskin@gmail.com> | 2016-11-15 22:42:04 -0800 |
| commit | 5d2ce603402849a673829b132f50440b7f6a70ba (patch) | |
| tree | 40b72c5f89db5cca53e41203c17562d28a59dc1f /vrplayer/ourinterface.cpp | |
| parent | e8185caf319db95554f7f3a239e962ca96e24fd4 (diff) | |
| download | xrdp-proprietary-5d2ce603402849a673829b132f50440b7f6a70ba.tar.gz xrdp-proprietary-5d2ce603402849a673829b132f50440b7f6a70ba.zip | |
Fix regression in domain to session type mapping
If no domain is passed, self->session->client_info->domain is an empty
string that is incorrectly treated as if the domain were passed by the
client.
The regression was introduced in fc753a95, when an incorrect check for
non-empty domain was added. That check was removed in 67119ecc based on
coverity report, leaving no trace of the original intention.
Check domain both for '_' and '\0' as the initial character. In either
case, select the first session type section in xrdp.ini.
Diffstat (limited to 'vrplayer/ourinterface.cpp')
0 files changed, 0 insertions, 0 deletions
