commit | 3eadc68ebd174f5bad51fe6e0bbcf6d6651c784c | [log] [tgz] |
---|---|---|
author | Jim Meyering <meyering@redhat.com> | Thu Oct 04 13:09:51 2012 +0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Oct 05 07:58:37 2012 -0500 |
tree | f6b2444ca55b96d1b75f9cd7b156508a647ca8e5 | |
parent | 1044dc1118d9a90e2aa324047bea9c91c889e28f [diff] |
os-posix: avoid buffer overrun os_set_proc_name: Use pstrcpy, in place of strncpy and the ineffectual preceding assignment: name[sizeof(name) - 1] = 0; Signed-off-by: Jim Meyering <meyering@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>