From 048bd974a0b798ceb9f2230caa57bddc298d0a32 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Fri, 1 Aug 2014 19:52:40 -0500 Subject: [PATCH] win32_capture.c: Ignore unnamed data stream of reparse point This data will not be archived; only the reparse data will. So there's no need to create a 'struct wim_lookup_table_entry' for it. If a reparse point had an unnamed data stream, the assertion introduced in commit 321750354891a0968ca0c3664417eae73b9414aa would be triggered. This is just as well, because this case wasn't being handled in the most logical way. --- src/win32_capture.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/win32_capture.c b/src/win32_capture.c index 4c901acb..ad40d452 100644 --- a/src/win32_capture.c +++ b/src/win32_capture.c @@ -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; } -- 2.46.1