[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120102144138.034f5831@linux.lan.towertech.it>
Date: Mon, 2 Jan 2012 14:41:38 +0100
From: Alessandro Zummo <a.zummo@...ertech.it>
To: Jonathan Nieder <jrnieder@...il.com>
Cc: "P." <mailme667@...oo.co.uk>, rtc-linux@...glegroups.com,
linux-kernel@...r.kernel.org, John Stultz <john.stultz@...aro.org>,
Ben Hutchings <ben@...adent.org.uk>, akpm@...ux-foundation.org
Subject: Re: [PATCH resend] rtc: Fix alarm rollover when day or month is
out-of-range
On Fri, 30 Dec 2011 18:35:52 -0600
Jonathan Nieder <jrnieder@...il.com> wrote:
> From: Ben Hutchings <ben@...adent.org.uk>
> Date: Thu, 29 Dec 2011 16:41:56 +0100
>
> Commit f44f7f96a20a ('RTC: Initialize kernel state from RTC')
> introduced a potential infinite loop. If an alarm time contains a
> wildcard month and an invalid day (> 31), or a wildcard year and an
> invalid month (>= 12), the loop searching for the next matching date
> will never terminate. Treat the invalid values as wildcards.
>
> Fixes <http://bugs.debian.org/646429>, <http://bugs.debian.org/653331>
>
> Reported-by: leo weppelman <leoweppelman@...glemail.com>
> Reported-by: "P. van Gaans" <mailme667@...oo.co.uk>
> Cc: stable@...r.kernel.org
> Signed-off-by: Ben Hutchings <ben@...adent.org.uk>
> Signed-off-by: Jonathan Nieder <jrnieder@...il.com>
Seems reasonable, ty.
Acked-by: Alessandro Zummo <a.zummo@...ertech.it>
--
Best regards,
Alessandro Zummo,
Tower Technologies - Torino, Italy
http://www.towertech.it
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists