mirror of
https://abf.rosa.ru/djam/rpm.git
synced 2025-02-23 10:23:04 +00:00
11 lines
359 B
Diff
11 lines
359 B
Diff
--- rpm-5.4.7/lib/rpmds.c.ds_stat~ 2012-03-13 19:42:38.344711524 +0100
|
|
+++ rpm-5.4.7/lib/rpmds.c 2012-03-13 19:42:47.633723723 +0100
|
|
@@ -2961,6 +2961,8 @@ static char *find_elf_interpreter(GElf_E
|
|
size_t shstrndx;
|
|
|
|
if (filename) {
|
|
+ if (!*filename)
|
|
+ return NULL;
|
|
if (!(fp = fopen(filename, "r"))) {
|
|
perror(filename);
|
|
return NULL;
|