diff options
author | David Woodhouse <dwmw2@infradead.org> | 2013-03-16 15:44:32 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-03-28 02:36:17 +0400 |
commit | aaed651ff619993fb2101a22b32dd0664e54921b (patch) | |
tree | 43d78fe1b6f8eb754005153bcc8d694198789ffc /drivers/pinctrl/pinctrl-abx500.c | |
parent | 50cf7c8ab324de348990bb028ad9ed10872d527a (diff) | |
download | linux-aaed651ff619993fb2101a22b32dd0664e54921b.tar.xz |
pinctrl: mvebu: prevent walking off the end of group array
While investigating (ab)use of krealloc, David found this bug. It's
unlikely to occur, but now we detect the condition and error out
appropriately.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-abx500.c')
0 files changed, 0 insertions, 0 deletions