diff options
| author | Chen Gang <[email protected]> | 2013-01-21 17:33:26 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-01-21 14:00:10 -0800 |
| commit | ec7e0aef31e2eece787f7c49df1f031f2a983265 (patch) | |
| tree | 45b7fa8dc599aabe277d656d86d3957e7c445ef1 /tools/perf/scripts/python/netdev-times.py | |
| parent | cdbbc618f8f483d72e82af05f2873621cc9c2314 (diff) | |
staging: tidspbridge/pmgr: additional checking after return from strlen_user
strlen_user will return the length including final NUL.
and will return 0 if failed (for example: if user string not NUL terminated)
so need check whether it is an invalid parameter.
addtional info:
can reference the comments of strlen_user in lib/strnlen_user.c
Signed-off-by: Chen Gang <[email protected]>
Cc: Omar Ramirez Luna <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions