Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/unshield.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ static bool extract_file(Unshield* unshield, const char* prefix, int index)
/* use GNU extension to return non-existing files to real_output_directory */
realpath(output_directory, real_output_directory);
realpath(filename, real_filename);
strncat(real_output_directory, "/", PATH_MAX);
if (real_filename == NULL || strncmp(real_filename,
real_output_directory,
strlen(real_output_directory)) != 0)
Expand Down