diff options
| author | Ian Kent <[email protected]> | 2009-01-06 14:42:09 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-01-06 15:59:23 -0800 |
| commit | bae8ec66554b27967f057a4b7888b09481ff1b8b (patch) | |
| tree | 89dffc974d4b6bb899d0419527a574a143c9bf6d /tools/perf/scripts/python | |
| parent | a92daf6ba1f9ace8584edc8eb557a77aa7c2c71d (diff) | |
autofs4: fix string validation check order
In function validate_dev_ioctl() we check that the string we've been sent
is a valid path. The function that does this check assumes the string is
NULL terminated but our NULL termination check isn't done until after this
call. This patch changes the order of the check.
Signed-off-by: Ian Kent <[email protected]>
Acked-by: Jeff Moyer <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions