Browse Source
In the condition that console setup for CTTY and close run at the
sametime, accessing shared console memory which is already unmapped
may occur. With this patch, to avoid this race issue, shared console
memory which belongs to contorolling terminal (CTTY) is kept mapped
as before.
Addresses: https://cygwin.com/pipermail/cygwin/2024-February/255561.html
Fixes: 3721a756b0 ("Cygwin: console: Make the console accessible from other terminals.")
Reported-by: Kate Deplaix <kit-ty-kate@outlook.com>
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
master
2 changed files with 12 additions and 3 deletions
@ -0,0 +1,7 @@ |
|||||
|
Fixes: |
||||
|
------ |
||||
|
|
||||
|
- Fix the problem that console setup accesses shared memory which |
||||
|
is already unmapped due to race condition. To avoid this issue, |
||||
|
shared console memory will be kept mapped if it belongs to CTTY. |
||||
|
Addresses: https://cygwin.com/pipermail/cygwin/2024-February/255561.html |
||||
Loading…
Reference in new issue