Skip to content

Commit a365b70

Browse files
authored
Ignore non-resolved symlinks (#51)
1 parent e7c1e87 commit a365b70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unpack.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ ExtractedArchive* extract_archive(uint8_t* inputData, size_t inputSize ) {
212212
symlinks, symlink_count,
213213
target, 0);
214214

215+
// Ignoring unresolved symlinks, there isn't so much we can do here
215216
if (!resolved) {
216-
error_message = "Failed to resolve symlink.";
217-
return error_handler(result, error_message, archive);
217+
continue;
218218
}
219219

220220
if (files_count + 1 > files_struct_length) {

0 commit comments

Comments
 (0)