Blame SOURCES/chrpath-0.13-NULL-entry.patch

b8c700
diff -uNr chrpath-0.13.old/killrpath.c chrpath-0.13/killrpath.c
b8c700
--- chrpath-0.13.old/killrpath.c	2003-06-24 00:46:15.000000000 +0200
b8c700
+++ chrpath-0.13/killrpath.c	2009-07-19 23:05:11.000000000 +0200
b8c700
@@ -73,8 +73,11 @@
b8c700
        if ( ! elf_dynpath_tag(dyns[i].d_tag) )
b8c700
         dynpos++;
b8c700
      }
b8c700
-   for (; dynpos < i; dynpos++)
b8c700
+   for (; dynpos < i; dynpos++) {
b8c700
      dyns[dynpos].d_tag = DT_NULL;
b8c700
+     dyns[dynpos].d_un.d_val = 0x0;
b8c700
+   }
b8c700
+
b8c700
 
b8c700
    if (lseek(fd, phdr.p_offset, SEEK_SET) == -1
b8c700
        || write(fd, dyns, phdr.p_filesz) != (int)phdr.p_filesz)