diff options
| author | Roel Kluin <[email protected]> | 2009-09-05 20:23:21 -0700 |
|---|---|---|
| committer | Roland Dreier <[email protected]> | 2009-09-05 20:23:21 -0700 |
| commit | 286b63d09660de0fbd0d7748984d7ae491c7fdb6 (patch) | |
| tree | 8e7675a83dd395ec0bf4c9e403a75e8c90364607 /lib/memory-notifier-error-inject.c | |
| parent | e07cccf4046978df10f2e13fe2b99b2f9b3a65db (diff) | |
IB/ipath: strncpy() doesn't always NUL-terminate
strlcpy() will always null terminate the string. node_desc is not
guaranteed to be NUL-terminated so just use memcpy().
Signed-off-by: Roel Kluin <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions