]> wimlib.net Git - wimlib/blobdiff - src/win32_capture.c
read_wim_header(): Check return value of lseek()
[wimlib] / src / win32_capture.c
index 4c901acb8fab1a7a931ed0a474f7f039f2ef94d7..ad40d45287af5828cf6528e6f3cf77e2e39b8139 100644 (file)
@@ -888,6 +888,9 @@ winnt_scan_stream(const wchar_t *path, size_t path_nchars,
                                                        sizeof(wchar_t));
                if (!ads_entry)
                        return WIMLIB_ERR_NOMEM;
+       } else if (inode->i_attributes & FILE_ATTRIBUTE_REPARSE_POINT) {
+               /* Ignore unnamed data stream of reparse point  */
+               return 0;
        } else {
                ads_entry = NULL;
        }