]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix cut and paste off-by-one error in hccontrol(8).
authorhselasky <hselasky@FreeBSD.org>
Sun, 19 Apr 2020 14:25:56 +0000 (14:25 +0000)
committerhselasky <hselasky@FreeBSD.org>
Sun, 19 Apr 2020 14:25:56 +0000 (14:25 +0000)
commitd5bc23a40ab4f4aad939de67ea08795aae3b1fc9
tree678cd1f1a9d5c16df784df91300e9c9a2fbb7853
parent8f088cf48f8452df505ed5603a682e3f0b673fe1
Fix cut and paste off-by-one error in hccontrol(8).
Make sure strncpy() doesn't write beyond its given buffer.

PR: 245739
MFC after: 1 week
Sponsored by: Mellanox Technologies
usr.sbin/bluetooth/hccontrol/util.c