{"push_id":851105360,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"1ea09b4ddb79639fd0ff353a7dc525bb3192b128","before":"e897a63f0c9c16fe717d360e8fb6432601c7c248","commits":[{"sha":"1ea09b4ddb79639fd0ff353a7dc525bb3192b128","author":{"email":"fd4a61949a28ae8cdd740d5b4a7df30899289069@suse.cz","name":"Jiri Bohac"},"message":"timer: Prevent overflow in apply_slack\n\ncommit 98a01e779f3c66b0b11cd7e64d531c0e41c95762 upstream.\n\nOn architectures with sizeof(int) < sizeof (long), the\ncomputation of mask inside apply_slack() can be undefined if the\ncomputed bit is > 32.\n\nE.g. with: expires = 0xffffe6f5 and slack = 25, we get:\n\nexpires_limit = 0x20000000e\nbit = 33\nmask = (1 << 33) - 1  /* undefined */\n\nOn x86, mask becomes 1 and and the slack is not applied properly.\nOn s390, mask is -1, expires is set to 0 and the timer fires immediately.\n\nUse 1UL << bit to solve that issue.\n\nSuggested-by: Deborah Townsend <dstownse@us.ibm.com>\nSigned-off-by: Jiri Bohac <jbohac@suse.cz>\nLink: http://lkml.kernel.org/r/20140418152310.GA13654@midget.suse.cz\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/jamieg71/msm-shamu-3.10/commits/1ea09b4ddb79639fd0ff353a7dc525bb3192b128"}]}