-
Browse
Commit
-
Author :
Tobias Stoeckmann
Date :
2019-05-10 23:54:14
Hash :
2707a4ff
Message :
kqueue: Avoid undefined behaviour.
As ploxiln pointed out in pull request 811 the check "newsize < 0"
is undefined behaviour (signed int overflow).
Follow the advice and check kqop->changes_size instead.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Closes: #813 (cherry-picked)