[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/15447] dwp crashes with fseek(NULL) when executable without an
From: |
trass3r at gmail dot com |
Subject: |
[Bug gold/15447] dwp crashes with fseek(NULL) when executable without any .dwo files is specified |
Date: |
Wed, 08 Jul 2020 16:05:27 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=15447
--- Comment #2 from trass3r <trass3r at gmail dot com> ---
diff --git a/gold/dwp.cc b/gold/dwp.cc
index 7c4eef090d..d71caae357 100644
--- a/gold/dwp.cc
+++ b/gold/dwp.cc
@@ -2418,6 +2418,8 @@ main(int argc, char** argv)
{
Dwo_file exe_file(exe_filename);
exe_file.read_executable(&files);
+ if (files.empty())
+ gold_fatal(_("Could not find any dwo links in specified EXE"));
}
// Add any additional files listed on command line.
--
You are receiving this mail because:
You are on the CC list for the bug.