ide: Change serial number strncpy() to pstrcpy()
commitaa2c91bdfebbfa314e9522573a9656626e21ac67
authorFloris Bos <bos@je-eigen-domein.nl>
Mon, 12 Mar 2012 20:05:10 +0000 (12 21:05 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 5 Apr 2012 12:54:39 +0000 (5 14:54 +0200)
treea2a3b4d00a58a145f0be146b3a03de1f0fcf4101
parent27e0c9a1bbd166a67c16291016fba298a8e47140
ide: Change serial number strncpy() to pstrcpy()

strncpy may not null-terminate the destination string.

Cc: kwolf@redhat.com
Signed-off-by: Floris Bos <dev@noc-ps.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c
hw/ide/core.c