Skip to content

Guard against invalid timeout values in KIdleTime::addTimeout()

Vlad Zahorodnii requested to merge work/zzag/idle-timeout-invalid-value into master

The screenlocker converts user provided minutes to milliseconds. kscreenlocker has a check to guard against negative timeouts, but "timeout * 1000 * 60" can overflow.

CCBUG: 482077

Edited by Vlad Zahorodnii

Merge request reports