Bug 1409 - GNU/Linux DRM Console: Clear stdin before exit and don't act on stdin in vsync-wait-loop
Summary: GNU/Linux DRM Console: Clear stdin before exit and don't act on stdin in vsyn...
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: embedded (show other bugs)
Version: 2.4.0
Hardware: All linux
: P4 critical
Assignee: Sven Gothel
URL:
Depends on: 1156
Blocks:
  Show dependency treegraph
 
Reported: 2019-12-05 22:31 CET by Sven Gothel
Modified: 2019-12-05 22:32 CET (History)
1 user (show)

See Also:
Type: DEFECT
SCM Refs:
c317985db39f840f6edf9860487c604e6e31c2ba
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2019-12-05 22:31:13 CET
User input during test from the console will also end up in stdin of the console after the java application has been closed.
This is not only annoying, but also a security concern, as the input gets executed if containing a CR.

Further, the vsync-wait-loop shall ignore stdin.
Comment 1 Sven Gothel 2019-12-05 22:32:46 CET
fixed by commit c317985db39f840f6edf9860487c604e6e31c2ba