diff options
| author | Chen Gang <gang.chen@asianux.com> | 2013-01-21 17:36:33 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-21 14:00:10 -0800 |
| commit | 4b90d01425468cac50275ce2bd3b35218b56282d (patch) | |
| tree | 038942877eeb520adc75e251f8e14a73dc7d18b6 /tools/perf/scripts/python | |
| parent | 9814a8750e7af236030c237a98bba79f5eb3c214 (diff) | |
staging: tidspbridge/pmgr: another using strlcpy instead of strncpy
The fields must be null-terminated,
or next strstr in dcd_get_objects, will cause issue
additoinal info:
nldr_create may call cod_get_base_name, let sz_zl_file to get name (sz_name)
and then call dcd_get_objects, passing sz_zl_file as a name string.
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Cc: Omar Ramirez Luna <omar.ramirez@copitl.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
