diff options
| author | Jim Meyering | 2012-10-04 13:09:50 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2012-10-05 14:58:37 +0200 |
| commit | 1044dc1118d9a90e2aa324047bea9c91c889e28f (patch) | |
| tree | 39bf965f0e9436ccb0f20d1459dcdf6574a0c114 /linux-user | |
| parent | hw/9pfs: avoid buffer overrun (diff) | |
| download | qemu-1044dc1118d9a90e2aa324047bea9c91c889e28f.tar.gz qemu-1044dc1118d9a90e2aa324047bea9c91c889e28f.tar.xz qemu-1044dc1118d9a90e2aa324047bea9c91c889e28f.zip | |
lm32: avoid buffer overrun
Actually do what the comment says, using pstrcpy NUL-terminate:
strncpy does not always do that.
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
