commit | 1842dd8b7bc7d713d3c252a501411b5009b3987d | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@hovoldconsulting.com> | Fri Mar 27 12:45:41 2015 +0100 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Mon Mar 30 15:17:37 2015 +0200 |
tree | 424f1f6c6fee9a1d9fa72a4f57c8b11dbe9b1bca | |
parent | 0150bd7f23618eb4feb293f4db007833555a887f [diff] |
greybus: gpio: fix null-deref on short irq requests Make sure to verify the length of incoming requests before trying to parse the request buffer, which can even be NULL on empty requests. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>