On Wed, 14 Oct 2026 19:47:16 +0200, Vincent Stehlé wrote:

> Depending on its input structure's tm_mon field value, the
> rtc_calc_weekday() function may read the month_offset[] array it uses
> for its computations out of its bounds.
> Verify tm_mon on input to prevent that.
> 
> While at it, change the month_offset[] array to const as it is only
> read, and fix a typo and adjust the return code in the function's
> documentation.
> 
> [...]

Applied to u-boot/main, thanks!

[1/1] lib/date: prevent out-of-bound read in rtc_calc_weekday()
      commit: 3a379940d10804feee0c73fb013143b0ee2ed473
-- 
Tom


Reply via email to