diff options
| author | Evgeny Kuznetsov <[email protected]> | 2010-10-27 15:33:37 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-10-27 18:03:09 -0700 |
| commit | f4a2589feaef0a9b737a3e582b37ee96695bb25f (patch) | |
| tree | ea5eb5c6f2c1f826893271b861d63272efd6546d /tools/perf/scripts/python | |
| parent | 32a8cf235e2f192eb002755076994525cdbaa35a (diff) | |
cgroups: add check for strcpy destination string overflow
Function "strcpy" is used without check for maximum allowed source string
length and could cause destination string overflow. Check for string
length is added before using "strcpy". Function now is return error if
source string length is more than a maximum.
akpm: presently considered NotABug, but add the check for general
future-safeness and robustness.
Signed-off-by: Evgeny Kuznetsov <[email protected]>
Acked-by: Paul Menage <[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