diff options
| author | Kevin McKinney <[email protected]> | 2011-12-14 22:44:33 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2011-12-22 13:32:45 -0800 |
| commit | b72a7c859efc9e0cf13600b30a555457a08dd86f (patch) | |
| tree | 3d284a1e03b1725c5c0f1f6d19a67d9a9f188d19 /tools/perf/scripts/python | |
| 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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions