diff options
Fix crash due to invalid timespec given to pselect
If blinktimeout is set to a value greater than 1000, pselect will
receive a timeout argument with tv_nsec greater than 1E9 (1 sec), and
fail, making st crash. This patch just ensures that the timespec
structure is correctly filled with a value properly decomposed between
tv_sec and tv_nsec.
Reported by JasonWoof on IRC. Thanks!
Diffstat (limited to 'LICENSE%25252525252525252525253fid%25252525252525252525253dac11bbb03b923cbe02cd17130ae643b2c4b004ec%252525252525252525253fid%252525252525252525253dac11bbb03b923cbe02cd17130ae643b2c4b004ec%2525252525252525253fid%2525252525252525253dc5f1d74fd83319d84887c7ff6769f3d42c3d1a0d%25252525252525253fid%25252525252525253dc5f1d74fd83319d84887c7ff6769f3d42c3d1a0d%252525252525253fid%252525252525253d7dd24bfb4c80960567d2d4dd4cf7ca5f2af95a52%2525252525253fid%2525252525253d7dd24bfb4c80960567d2d4dd4cf7ca5f2af95a52%25252525253fid%25252525253d7dd24bfb4c80960567d2d4dd4cf7ca5f2af95a52%252525253fid%252525253daba6c292af347588b9c2f5d1a400a6270b5a447f%2525253fid%2525253daba6c292af347588b9c2f5d1a400a6270b5a447f%25253fid%25253d4d14d97547d335974e98aa612ac5b4fcfc25e1d9%253fid%253d708b697ed77e1ba4e96399ed6cb0f73a37565321%3fid%3d708b697ed77e1ba4e96399ed6cb0f73a37565321&id2%3d09f5d98251469070b76f3911cc6a83d977871656?id=708b697ed77e1ba4e96399ed6cb0f73a37565321')
0 files changed, 0 insertions, 0 deletions