diff options
| author | Ralf Baechle <ralf@linux-mips.org> | 2014-11-04 11:54:29 +0100 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2014-11-04 12:46:33 +0100 |
| commit | 0097761013253930341e23723d64e0845c3f9edd (patch) | |
| tree | b0a8e44f720c2966e5c545f0cff5a638593cfb95 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | MIPS: CMA: Do not reserve memory if not required (diff) | |
| download | linux-0097761013253930341e23723d64e0845c3f9edd.tar.gz linux-0097761013253930341e23723d64e0845c3f9edd.zip | |
MIPS: Fix strnlen_user() return value in case of overlong strings.
We were returning maxlen like the userland strnlen if no '\0' character
was encountered while the kernel version is expected to return a value
larger than maxlen. Fixed to return maxlen + 1.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
