diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/windows_lnk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/windows_lnk.c b/apps/plugins/windows_lnk.c index 8b89f7f25b..93a423fefa 100644 --- a/apps/plugins/windows_lnk.c +++ b/apps/plugins/windows_lnk.c @@ -173,6 +173,7 @@ static bool extract_link_destination(const int fd, if (*link_flags & HAS_RELATIVE_PATH) { int ccount; r = read_word(fd, &ccount); + if (!r) return false; if (*link_flags & IS_UNICODE) { unsigned char utf16[4], utf8[10]; link_target[0] = '\0'; |