1324 Commits

Author SHA1 Message Date
Alexander Naumov
9d8b0ff390 Release v.5.0.0 v.5.0.0 2024-08-28 21:43:40 +02:00
Alexander Naumov
b2c75ef337 update version in INSTALL 2024-08-28 19:11:34 +02:00
Alexander Naumov
1d063826a9 manpage: remove information about 'time' command 2024-08-28 18:42:29 +02:00
Alexander Naumov
5ae0b8cdb9 remove documentation about 'nethack' command 2024-08-28 02:48:23 +02:00
Alexander Naumov
b100db9710 remove documentation about 'maxwin' command 2024-08-28 02:31:34 +02:00
Alexander Naumov
879d0ebb86 mktar.pl: get version from the configure.ac file 2024-08-27 01:51:09 +02:00
Alexander Naumov
44f804d5f5 keep escape characters in alphabetical order 2024-08-27 00:04:26 +02:00
Alexander Naumov
e5499df5f5 texinfo: update 'display colors' info 2024-08-26 23:34:19 +02:00
Alexander Naumov
47ae4771bb Build fix for not glibc systems (shadow.h)
see #66059
2024-08-05 16:41:23 +02:00
Alexander Naumov
27b44ea4eb Add new option '-P' for authentication 2024-08-03 17:50:05 +02:00
Alexander Naumov
7bd2413965 New command 'auth' for password protection
Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
2024-08-02 17:54:16 +02:00
Clark Wang
89d2776abf Fix double -U issue
When nwin_options.encoding == -1,
the 1st "-U" would set nwin_options.encoding=UTF8 and
the 2nd "-U" would set nwin_options.encoding=0.
2024-08-02 12:25:13 +02:00
Alexander Naumov
7ebc476b79 screen.texinfo: update version 2024-08-02 12:18:11 +02:00
Alexander Naumov
af1aa442bd Update screen.textinfo
* remove escape 's' (support for seconds is dropped)
* remove 'password' command
* add 'O' escape for the count of screen windows
* update date and copyright year
2024-07-30 18:44:54 +02:00
Alexander Naumov
0f2370a0e8 man page: better wording... 2024-07-27 16:09:11 +02:00
Alexander Naumov
500144ee45 Regression bugfix: harstatus string fails to display date & time
bug #66003

Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
2024-07-27 13:58:42 +02:00
Alexander Naumov
6501c377b2 hardstatus: move 'the count of screen windows' from 'C' to 'O' 2024-07-27 12:00:26 +02:00
Alexander Naumov
38e067b693 keep escape characters in alphabetical order 2024-07-23 15:01:10 +02:00
Alexander Naumov
2ab6d00554 Texinfo Mousetrack node points to wrong top node
bug#64518
bug#66002
2024-07-22 16:12:03 +02:00
Alexander Naumov
4c78830855 update version in configure.ac and README 2024-07-12 13:29:33 +02:00
Alexander Naumov
380b80a509 update manpage for 5.0.0 2024-07-10 15:38:22 +02:00
Alexander Naumov
53850eb874 there is no 'password' command anymore 2024-07-10 14:55:57 +02:00
Alexander Naumov
ae175a2a52 Update Copyright date 2024-07-10 14:54:56 +02:00
Liang Xiaofei
4bd2fac68b Fix crashes after passing through a zmodem transfer
bug#25291
2024-07-10 14:02:58 +02:00
Vincent Lefevre
fcfa6d2da0 Really avoid a potential buffer overflow for 'home'
Indeed, the test
strlen(home) > MAXPATHLEN - 8
is not sufficient due to the terminating null character

(if home has length MAXPATHLEN - 8, then MAXPATHLEN + 1
characters are written, which is larger than the buffer
size MAXPATHLEN).

See also:
b4e5968f0b
2024-07-08 16:16:14 +02:00
Alexander Naumov
bf661de8ce bye bye FAQ 2024-07-07 15:02:37 +02:00
Alexander Naumov
b4e5968f0b Potentially overflowing fix for 'home' 2024-06-26 10:40:23 +02:00
Alexander Naumov
4b52c01265 Update CONTRIBUTORS
Thanks a lot for Elizaveta and Julian
who help to test the new screen's branch.
2024-06-24 09:09:39 +02:00
Alexander Naumov
cfe7a1a115 screen.c: a small code reformat 2024-06-19 18:22:15 +02:00
Vincent Lefèvre
9e8e20596f use wcwdith() in utf8_isdouble() instead of hard-coded tables
bug #63634

Instead of hard-coded tables, screen should use the standard
wcwdith() function, which will ensure consistency with other
software that already uses it (the real terminal and perhaps
libraries like ncurses).
2024-06-18 14:39:41 +02:00
Alexander Naumov
fdd2df8360 set a limit on session-names to 80 symbols
bug #61534

This fix doesn't allow to use session names longer
then this limit. Screen should print error message
in case of too long session name.
2024-06-11 18:30:07 +02:00
Alexander Naumov
f795aec91d man: there are no 'time' and 'debug' anymore 2024-06-11 08:39:53 +02:00
Alexander Naumov
e931d2fe81 sync ChangeLog 2024-06-10 09:17:53 +02:00
Alexander Naumov
277f4a36ac 'userbits' address out of bounce fix
We pass (1, 0) to calloc().
The ACLBYTE macro will return &NULL[(0 + 1) >> 3] equals 0.

On some systems (including OpenBSD) this will return
a zero sized object: a unique pointer that points to
unaccessable memory. This is permitted by the standards.
2024-06-07 14:06:15 +02:00
Alexander Naumov
67514aa778 fix -Wdeprecated-non-prototype
Passing arguments to 'tparm' without a prototype
is deprecated in all versions of C and is not supported
in C2x [-Wdeprecated-non-prototype]
2024-05-30 15:21:41 +02:00
Alexander Naumov
53bbd19757 fix -Wformat-overflow screen.c 2024-05-30 14:00:08 +02:00
Alexander Naumov
35f50657c2 Makefile: update standard to C17 2024-05-30 13:48:54 +02:00
Hayato Hiramatsu
c184c6ec27 [PATCH] Screen buffers ESC keypresses indefinitely since sgr support
bug #57748
2024-03-27 00:41:57 +01:00
Alexander Naumov
cd4d02fa87 sync man page 2024-02-20 13:56:31 +01:00
Alexander Naumov
b2570dec7a autogen.sh: add --install option for autoreconf 2023-12-30 00:13:58 +01:00
Alexander Naumov
84142afbf3 exit_with_usage() returns 1 only in case of error
"screen -h|--help" should NOT return 1

Sync with screen-v4: 7908c33f73
2023-08-22 17:56:25 +02:00
Brahmajit Das
7f320d3a64 Fix call to undeclared function chmod
The chmod function comes from the header file sys/stat.h
which was not included in the source file display.c,
and thus the error.
This patch should fix the build error.

Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
2023-08-07 15:58:19 +02:00
Vincent Lefevre
6931ba07ca Fix bashisms in configure.ac
bug #62076
2023-07-28 13:20:17 +02:00
Alexander Naumov
ecea7aa87d autoupdate AC_PREREQ 2.71 2023-07-28 00:05:46 +02:00
Alexander Naumov
6df4a48ff6 Missing signal sending permission check on failed query messages
When run as setuid root, one can send a query message to the
privileged screen process via its unix socket in order to force
it to send SIGHUP to a PID that can be freely specified in the
query packet.
Processes that do not explicitly handle SIGHUP will simply terminate.

Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
2023-02-01 13:47:57 +02:00
Alexander Naumov
f0f64c4189 httpss->https 2023-01-13 22:45:46 +02:00
Alexander Naumov
c3e84d21b4 http => https 2022-05-29 20:47:40 +03:00
Alexander Naumov
486b7e3fa1 http => https 2022-05-29 20:34:27 +03:00
Vincent Lefevre
c56ab476b9 Avoid zombies after shell exit
As documented in libutempter:
"During execution of the privileged process spawned by these
functions, SIGCHLD signal handler will be temporarily set to
the default action."

Thus in case a SIGCHLD has been lost, we send a SIGCHLD to
oneself in order to avoid zombies:
https://savannah.gnu.org/bugs/?25089
2022-02-17 03:08:26 +02:00
Michael Schröder
3aa385ea52 bugfix CVE-2021-26937
It allows remote attackers to cause a denial of service
(invalid write access and application crash) or possibly
have unspecified other impact via a crafted UTF-8
character sequence.

bugfix: https://savannah.gnu.org/bugs/?60030

Signed-off-by: Alexander Naumov <alexander_naumov@opensuse.org>
2022-02-02 00:43:14 +02:00