Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
021eb126
Commit
021eb126
authored
Sep 25, 2016
by
Christian Brauner
Committed by
GitHub
Sep 25, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1206 from cwoac/master
Fix null derefence if attach is called without access to any tty
parents
0f73b621
b9a24c4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lxc_attach.c
src/lxc/tools/lxc_attach.c
+1
-1
No files found.
src/lxc/tools/lxc_attach.c
View file @
021eb126
...
...
@@ -321,7 +321,7 @@ static int get_pty_on_host(struct lxc_container *c, struct wrapargs *wrap, int *
err3:
lxc_mainloop_close
(
&
descr
);
err2:
if
(
ts
->
sigfd
!=
-
1
)
if
(
ts
&&
ts
->
sigfd
!=
-
1
)
lxc_console_sigwinch_fini
(
ts
);
err1:
lxc_console_delete
(
&
conf
->
console
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment