]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't walk off the end of the array when proto isn't explicitly
authortruckman <truckman@FreeBSD.org>
Mon, 16 May 2016 23:47:08 +0000 (23:47 +0000)
committertruckman <truckman@FreeBSD.org>
Mon, 16 May 2016 23:47:08 +0000 (23:47 +0000)
commit21d390bffda90ecba2c4fc485c8cbc5bddcaf35f
tree16482dec4a494d983ab2d4952f91fadbd862fa24
parent8e80be76fe011e7ff1278fb6ec1a85f3fa3bff5c
Don't walk off the end of the array when proto isn't explicitly
listed above.  Instead update the catch-all "Others" bucket.

Reported by: Coverity
CID: 10075711007572
MFC after: 1 week
usr.sbin/ppp/link.c