summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm/rpm/debugedit-valid-file-to-fix-segment-fault.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm/debugedit-valid-file-to-fix-segment-fault.patch')
-rw-r--r--meta/recipes-devtools/rpm/rpm/debugedit-valid-file-to-fix-segment-fault.patch14
1 files changed, 6 insertions, 8 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/debugedit-valid-file-to-fix-segment-fault.patch b/meta/recipes-devtools/rpm/rpm/debugedit-valid-file-to-fix-segment-fault.patch
index 2696cd3168..f7c31006b4 100644
--- a/meta/recipes-devtools/rpm/rpm/debugedit-valid-file-to-fix-segment-fault.patch
+++ b/meta/recipes-devtools/rpm/rpm/debugedit-valid-file-to-fix-segment-fault.patch
@@ -20,10 +20,11 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
20 tools/debugedit.c | 25 +++++++++++++++++++++++++ 20 tools/debugedit.c | 25 +++++++++++++++++++++++++
21 1 file changed, 25 insertions(+) 21 1 file changed, 25 insertions(+)
22 22
23diff --git a/tools/debugedit.c b/tools/debugedit.c 23Index: rpm-5.4.14/tools/debugedit.c
24--- a/tools/debugedit.c 24===================================================================
25+++ b/tools/debugedit.c 25--- rpm-5.4.14.orig/tools/debugedit.c
26@@ -1512,6 +1512,28 @@ handle_build_id (DSO *dso, Elf_Data *build_id, 26+++ rpm-5.4.14/tools/debugedit.c
27@@ -1525,6 +1525,28 @@ handle_build_id (DSO *dso, Elf_Data *bui
27 } 28 }
28 } 29 }
29 30
@@ -52,7 +53,7 @@ diff --git a/tools/debugedit.c b/tools/debugedit.c
52 int 53 int
53 main (int argc, char *argv[]) 54 main (int argc, char *argv[])
54 { 55 {
55@@ -1608,6 +1630,9 @@ main (int argc, char *argv[]) 56@@ -1621,6 +1643,9 @@ main (int argc, char *argv[])
56 exit (1); 57 exit (1);
57 } 58 }
58 59
@@ -62,6 +63,3 @@ diff --git a/tools/debugedit.c b/tools/debugedit.c
62 dso = fdopen_dso (fd, file); 63 dso = fdopen_dso (fd, file);
63 if (dso == NULL) 64 if (dso == NULL)
64 exit (1); 65 exit (1);
65--
661.8.1.2
67