summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mlxcontrol
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2010-02-09 22:30:51 +0000
committerdelphij <delphij@FreeBSD.org>2010-02-09 22:30:51 +0000
commit54ac71ad0f6c9320cedd699c4dce60be1177e418 (patch)
treeb0e7379f53d44bb1702fe8769f453e089f5fc10a /usr.sbin/mlxcontrol
parenteb28e347bf550058149b7d43646514104407e262 (diff)
downloadFreeBSD-src-54ac71ad0f6c9320cedd699c4dce60be1177e418.zip
FreeBSD-src-54ac71ad0f6c9320cedd699c4dce60be1177e418.tar.gz
- Return EAFNOSUPPORT instead of EINVAL for unsupported address family,
this matches the Linux behavior. - Check if we have sufficient space allocated for socket structure, which fixes a buffer overflow when wrong length is being passed into the emulation layer. [1] PR: kern/138860 Submitted by: Mateusz Guzik <mjguzik gmail com> Reported by: Alexander Best [1] MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/mlxcontrol')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud