diff options
author | Markus Armbruster <armbru@redhat.com> | 2013-01-10 14:33:25 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-01-14 12:47:11 +0100 |
commit | 036078475427f2562c8e505f6bb44dbf5d8cbd95 (patch) | |
tree | 2b2e2e408eec07b462f0f64b872a2dc29c6f3566 /Makefile | |
parent | 4663530898a15944706d51b523d1f1545e32e46a (diff) |
usb-host: Initialize dev->port the obviously safe way
Coverity worries the strcpy() could overrun the destination. It
can't, because the source always points to usb_host_scan()'s auto
port[], which has the same size. Use pstrcpy() anyway, to hush the
checker.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions