diff options
author | sephe <sephe@FreeBSD.org> | 2016-01-27 05:19:05 +0000 |
---|---|---|
committer | sephe <sephe@FreeBSD.org> | 2016-01-27 05:19:05 +0000 |
commit | ab5817778ba6e3a18afecb75cb4a290e4f7efece (patch) | |
tree | 9327d0e36db1f92f8edb15d50865798fc7197162 /lib/libc/stdlib/getopt_long.c | |
parent | e15fc69684ffd8c8e682b637c6f154f82142f2ff (diff) | |
download | FreeBSD-src-ab5817778ba6e3a18afecb75cb4a290e4f7efece.zip FreeBSD-src-ab5817778ba6e3a18afecb75cb4a290e4f7efece.tar.gz |
MFC r294557:
hyperv/stor: Verify returned inquiry data before further dispatching
Windows 10 and Window 2016 will return all zero inquiry data for
non-existing slots. If we dispatched them, then a lot of useless
(0 sized) disks would be created. So we verify the returned inquiry
data (valid type, non-empty vendor/product/revision etc.), before
further dispatching.
Minor white space cleanup and wording fix.
Submitted by: Hongjiang Zhang <honzhan microsoft com>
Reviewed by: adrian, sephe, Jun Su <junsu microsoft com>
Approved by: adrian (mentor)
Modified by: sephe
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D4928
Diffstat (limited to 'lib/libc/stdlib/getopt_long.c')
0 files changed, 0 insertions, 0 deletions