commit | 6f7d79849a00bba82d3139ff91ff2aaabd12841e | [log] [tgz] |
---|---|---|
author | Sasha Levin <sasha.levin@oracle.com> | Mon Dec 01 23:04:06 2014 -0500 |
committer | John Stultz <john.stultz@linaro.org> | Fri May 22 09:12:22 2015 -0700 |
tree | a211e8c8361e64c638f9bcc1131739a79585af7a | |
parent | 4e3d9cb0134fea035e6eb1707e5e7d8aaffa186d [diff] |
time: Make sure tz_minuteswest is set to a valid value when setting time Invalid values may overflow later, leading to undefined behaviour when multiplied by 60 to get the amount of seconds. Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@kernel.org> Signed-off-by: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: John Stultz <john.stultz@linaro.org>