commit | b72a7c859efc9e0cf13600b30a555457a08dd86f | [log] [tgz] |
---|---|---|
author | Kevin McKinney <klmckinney1@gmail.com> | Wed Dec 14 22:44:33 2011 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Dec 22 13:32:45 2011 -0800 |
tree | 3d284a1e03b1725c5c0f1f6d19a67d9a9f188d19 | |
parent | d1840eda7add1d0fdee5cf7ad2ac7ad0f656eecb [diff] |
Staging: bcm: Fix information leak in IOCTL_BCM_GET_DRIVER_VERSION This ioctl, IOCTL_BCM_GET_DRIVER_VERSION, is responsible for sending the driver version to userspace. However, the requested size stored in IoBuffer.OutputLength may be incorrect. Therefore, we altered the code to send the exact length of the version, plus one for the null character. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>