diff options
| author | Jim Meyering | 2012-10-04 13:09:51 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2012-10-05 14:58:37 +0200 |
| commit | 3eadc68ebd174f5bad51fe6e0bbcf6d6651c784c (patch) | |
| tree | f6b2444ca55b96d1b75f9cd7b156508a647ca8e5 /linux-user | |
| parent | lm32: avoid buffer overrun (diff) | |
| download | qemu-3eadc68ebd174f5bad51fe6e0bbcf6d6651c784c.tar.gz qemu-3eadc68ebd174f5bad51fe6e0bbcf6d6651c784c.tar.xz qemu-3eadc68ebd174f5bad51fe6e0bbcf6d6651c784c.zip | |
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>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions
