CVE-2017-2619: s3: smbd: Create and use open_dir_safely(). Use from OpenDir().