Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'regmap-fix-v6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap

Pull regmap fix from Mark Brown:
"One fix for an out of bounds access in the interupt code here"

* tag 'regmap-fix-v6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap:
regmap-irq: Fix out-of-bounds access when allocating config buffers

+1 -1
+1 -1
drivers/base/regmap/regmap-irq.c
··· 717 717 if (!d->config_buf) 718 718 goto err_alloc; 719 719 720 - for (i = 0; i < chip->num_config_regs; i++) { 720 + for (i = 0; i < chip->num_config_bases; i++) { 721 721 d->config_buf[i] = kcalloc(chip->num_config_regs, 722 722 sizeof(**d->config_buf), 723 723 GFP_KERNEL);