diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 02:23:15 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 02:23:15 +0000 |
commit | a8aaf8e758c59f6ef8f8d81a925a4188b69c23a1 (patch) | |
tree | af1080566988fd7582e765ef024947973f269f6a /src/shared/ptyfwd.c | |
parent | Adding debian version 252.25-1~deb12u1. (diff) | |
download | systemd-a8aaf8e758c59f6ef8f8d81a925a4188b69c23a1.tar.xz systemd-a8aaf8e758c59f6ef8f8d81a925a4188b69c23a1.zip |
Merging upstream version 252.26.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/shared/ptyfwd.c')
-rw-r--r-- | src/shared/ptyfwd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/ptyfwd.c b/src/shared/ptyfwd.c index 6ffe86e..21cfe1d 100644 --- a/src/shared/ptyfwd.c +++ b/src/shared/ptyfwd.c @@ -406,6 +406,9 @@ int pty_forward_new( struct winsize ws; int r; + assert(master >= 0); + assert(ret); + f = new(PTYForward, 1); if (!f) return -ENOMEM; |