diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-09-21 21:44:46 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-09-21 21:44:46 +0200 |
commit | cd0e7155c746bcee22e2e7d66691bdefff4d0b3c (patch) | |
tree | 80b3188f077ef806769cb8c9ea7b216ab8df2a3c /src/feh_png.h | |
parent | 9fb7c1bbc8b25a3e1e45cf353999d997a3f6c92e (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 'src/feh_png.h')
0 files changed, 0 insertions, 0 deletions