Commit Graph

4153 Commits

Author SHA1 Message Date
matt335672
7e514bf339 Bump cppcheck to v2.11
This fixes the following errors:-

sesman/tools/authtest.c:64:14: error: syntax error [syntaxError]
    g_printf("xrdp auth module tester v" PACKAGE_VERSION "\n");
             ^
sesman/tools/sesrun.c:165:14: error: syntax error [syntaxError]
    g_printf("xrdp session starter v" PACKAGE_VERSION "\n");
             ^
vrplayer/decoder.h:35:12: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro]
    public slots:
           ^
vrplayer/playaudio.h:45:12: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro]
    public slots:
           ^
vrplayer/dlgabout.h:22:13: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro]
    private slots:
            ^
vrplayer/playvideo.h:49:12: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro]
    public slots:
           ^
Additionally, cppcheck now makes use of all available CPUs
2023-06-23 17:05:21 +01:00
matt335672
27ea401e43
Merge pull request #2712 from matt335672/v0_9_allow_long_strings_in_pam_env
[0.9] Remove size limit for PAM environment variables
2023-06-01 15:34:17 +01:00
matt335672
3d2b3b89f4 Remove size limit for PAM environment variables
The current logic in auth_set_env() for PAM environments only allows
environment variables to be around 256 characters in length.
2023-05-31 16:30:58 +01:00
metalefty
f1fa6bbc19
Merge pull request #2703 from metalefty/v0.9-tarball-script
Add script to make release tarball
2023-05-26 23:50:19 +09:00
Koichiro IWAO
6954ab0972 Fix usage comment 2023-05-26 23:32:02 +09:00
Koichiro IWAO
7efcd9280c Reduce prompt timeout 2023-05-26 23:27:20 +09:00
Koichiro IWAO
b3dba2bad4 Add script to make release tarball
to avoid mistake in release procedure.
2023-05-26 18:39:46 +09:00
metalefty
b26ca93176
Merge pull request #2694 from metalefty/v0.9-release
Update NEWS and bump version to v0.9.22.1
2023-05-22 23:41:56 +09:00
Koichiro IWAO
d2a55d9203
Update NEWS and bump version to v0.9.22.1 2023-05-22 23:11:48 +09:00
metalefty
2f214c8452
Merge pull request #2658 from metalefty/v0.9-release
v0.9 release
2023-05-07 15:14:46 +09:00
Koichiro IWAO
71594b5114
Bump version for v0.9.22 2023-05-07 15:03:13 +09:00
Koichiro IWAO
1b3be3e641 Update NEWS for v0.9.22 2023-05-07 15:03:05 +09:00
matt335672
6c9f7f8434
Merge pull request #2653 from matt335672/v0_9_allow_longer_user_wm_str
[V0.9] Allow longer UserWindowManager strings
2023-05-02 12:10:40 +01:00
matt335672
a58c895d1b Allow longer UserWindowManager strings
The UserWindowManager is limited to 31 characters. There appears
to be no good reason for this.
2023-05-02 12:06:30 +01:00
matt335672
929d072622
Merge pull request #2650 from matt335672/v0_9_unnecessary_check_h
[V0.9] Remove unnecessary check h
2023-04-28 10:41:46 +01:00
Jat
4bc8701631 remove unnecessary include check.h 2023-04-28 10:23:26 +01:00
matt335672
d9580dee01
Merge pull request #2634 from lennartS/v0.9_shell
sesman: Prevent the use of 'alternate shell'
2023-04-19 09:58:15 +01:00
Lennart Sauerbeck
d4ea314ac2 sesman: Prevent the use of 'alternate shell'
By setting the new config value 'AllowAlternateShell' to 'no' it is now
possible to prevent the use of an alternate shell, which can be set by
the connecting user.
The default remains unchanged and any shell is allowed if the config
value is not specified. It can also be set explicitly to 'yes' to achieve
the same outcome.

Fixes: #850
2023-04-17 22:34:19 +02:00
matt335672
d7c3809ce8
Merge pull request #2622 from matt335672/v0_9_cirrus_freebsd_update
[V0.9] Bump FreeBSD image to 12.4
2023-03-31 12:11:27 +01:00
matt335672
a046aeea3f Bump FreeBSD image to 12.4 2023-03-31 12:03:14 +01:00
matt335672
bd43e80ef4
Merge pull request #2612 from matt335672/v0_9_unwrap_mem_calls
[v0.9] common: change g_malloc, g_free, g_memset, and g_memcpy to macros
2023-03-28 10:31:40 +01:00
Jay Sorg
d0cd397fee common: change g_malloc, g_free, g_memset, and g_memcpy to macros 2023-03-28 10:14:55 +01:00
matt335672
0525e4fbf4
Merge pull request #2611 from matt335672/v0_9_pcsc_stack_fix
chansrv: don't free item on stack
2023-03-27 10:23:34 +01:00
Jay Sorg
bd63675a75 chansrv: don't free item on stack 2023-03-27 10:11:23 +01:00
matt335672
35bc862775
Merge pull request #2582 from metalefty/v0.9-cherry-pick
[v0.9] sesman: fix help message alignment
2023-03-08 10:42:44 +00:00
Koichiro IWAO
f4e909c071 sesman: fix help message alignment 2023-03-08 13:07:33 +09:00
matt335672
df32336c76
Merge pull request #2577 from matt335672/v0_9_fix_list_insert_bug
[V0.9] Fix regression in list module
2023-03-06 18:00:50 +00:00
matt335672
8810d46ff1 Fix regression in list module 2023-03-06 17:47:48 +00:00
matt335672
affc40b8f0
Merge pull request #2574 from metalefty/v0.9-cherry-pick
[v0.9] Fix potential null dereference
2023-03-06 14:41:14 +00:00
Zhipeng Xue
689950d953 Fix potential null dereference 2023-03-06 23:01:22 +09:00
metalefty
a564bbbe5d
Merge pull request #2566 from matt335672/v0_9_pam_d_configurable
Make pam.d directory configurable
2023-02-28 10:02:49 +09:00
Yifan J
44efa5db5b Make pam.d directory configurable 2023-02-27 10:49:08 +00:00
metalefty
00d9b29fcc
Merge pull request #2554 from metalefty/v0.9-cherry-pick
[v0.9] cherry-pick sound related improvements
2023-02-20 09:18:21 +09:00
Koichiro IWAO
3080439fa9 chansrv/audin: return UNKNOWN when undefined value
is passed to audin_wave_format_tag_to_str.
2023-02-17 10:52:55 +09:00
Koichiro IWAO
2350267f49 chansrv/audin,sound: record index of formats array
It helps to know which audio format is in use.
2023-02-17 10:52:48 +09:00
Koichiro IWAO
cde22e3b4d chansrv/audin: record audin (microphone redirection) audio formats 2023-02-17 10:52:41 +09:00
Koichiro IWAO
b765304a43 chansrv/sound: adjust log level and record wFormatTag as string
These log levels are unintendedly decreased during logging reworking.

Recording audio formats are useful to know which format is used in
current RDP session.
2023-02-17 10:52:34 +09:00
Koichiro IWAO
58921a972e chansrv: add a utility function to convert wFormatTag into string 2023-02-17 10:52:26 +09:00
Hiero32
46b4ee2e95 sound: fix noise between two playbacks for mp3/aac (#2519)
* sound: fix noise between two playbacks for mp3/aac
* fix sound stuttered on skip operation of vlc
2023-02-17 10:49:40 +09:00
matt335672
2e5dd686dc
Merge pull request #2548 from matt335672/v0_9_list_improvements
V0 9 list improvements
2023-02-13 14:34:18 +00:00
matt335672
7198f58d6f Add simple list test cases 2023-02-11 14:52:23 +00:00
matt335672
152c31ca89 Add memory allocation checking to the list module
The list module lacks memory allocation checking, and
consequently can coredump on list_create() or
list_add_item().
2023-02-10 14:34:22 +00:00
matt335672
1faca4c1f7
Merge pull request #2521 from matt335672/v0_9_cppcheck_2_10
Bump cppcheck version to 2.10
2023-01-29 16:17:40 +00:00
matt335672
2d66b2f8d4 Bump cppcheck version to 2.10 2023-01-29 16:00:21 +00:00
matt335672
f31fee3052
Merge pull request #2508 from matt335672/v0_9_otaconix_patch_1
[V0.9] Tiny fix in pseudocode description of startwm.sh
2023-01-18 15:29:34 +00:00
matt335672
1e1eeec140
Merge pull request #2507 from matt335672/v0_9_check_pcsc_sock_create_err
[V0.9] Don't try to listen on the scard socket if it isn't there
2023-01-18 15:29:01 +00:00
matt335672
cae8215f3f
Merge pull request #2509 from matt335672/v0_9_no_pwd_no_autologin
[V0.9] Disable autologon for empty passwords
2023-01-18 15:28:34 +00:00
matt335672
ba4c9b9893 Disable autologon for empty passwords
Although there is nothing in the specification to prevent automatic
logons with empty passwords, this is not a secure default.

The autologon flag INFO_AUTOLOGON ([MS-RDPBCGR] 2.2.1.11.1.1) is now
ignored for empty passwords.
2023-01-18 15:08:38 +00:00
otaconix
a80e66e2d2 Tiny fix in pseudocode description of startwm.sh
I realize there's not much value in this PR, but I noticed this, so I thought I'd fix it 🙂
2023-01-18 15:07:10 +00:00
matt335672
6aac2e942d Don't try to listen on the scard socket if it isn't there
If the scard local socket can't be created, there's no point
in trying to listen on it. This will just fill the chansrv log
file with errors.
2023-01-18 14:40:02 +00:00