diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-09-21 21:44:46 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-09-25 09:20:54 +0200 |
commit | 4c16228c70a077510628319a0466c4902b34a834 (patch) | |
tree | 7e3e43ad2d3a2308e974b56b25251b358d8f458b /test/scr/feh_lwi_scroll_rd | |
parent | 020a496aaf5d78fa2876fe409046fb4753fbfbd6 (diff) |
Fix crash when X11 is connected via FD 0.
If stdin is not connected, the X11 connection may use FD 0, which is
traditionally used for STDIN. Do not attempt reads from fd 0 unless it
_really_ is connected to a terminal on stdin.
Reported by https://github.com/pvanstam, thanks a lot!
Closes #631
Closes #632
Diffstat (limited to 'test/scr/feh_lwi_scroll_rd')
0 files changed, 0 insertions, 0 deletions