Blame rpm-4.4.2.1-buildid-thinko.patch
|
Panu Matilainen |
27c7ab |
changeset: 6113:1e7e1ab92d32
|
|
Panu Matilainen |
27c7ab |
tag: tip
|
|
Panu Matilainen |
27c7ab |
user: Panu Matilainen <pmatilai@redhat.com>
|
|
Panu Matilainen |
27c7ab |
date: Sun Aug 12 15:27:46 2007 +0300
|
|
Panu Matilainen |
27c7ab |
files: tools/debugedit.c
|
|
Panu Matilainen |
27c7ab |
description:
|
|
Panu Matilainen |
27c7ab |
Fix debugedit buildid thinko.
|
|
Panu Matilainen |
27c7ab |
Patch from Roland McGrath
|
|
Panu Matilainen |
27c7ab |
(transplanted from fb1ee4c438c929f0b2af376fd23e05e52947b977)
|
|
Panu Matilainen |
27c7ab |
|
|
Panu Matilainen |
27c7ab |
|
|
Panu Matilainen |
27c7ab |
diff -r 7fde0de974ee -r 1e7e1ab92d32 tools/debugedit.c
|
|
Panu Matilainen |
27c7ab |
--- a/tools/debugedit.c Thu Aug 09 15:15:24 2007 +0300
|
|
Panu Matilainen |
27c7ab |
+++ b/tools/debugedit.c Sun Aug 12 15:27:46 2007 +0300
|
|
Panu Matilainen |
27c7ab |
@@ -1329,7 +1329,7 @@ handle_build_id (DSO *dso, Elf_Data *bui
|
|
Panu Matilainen |
27c7ab |
}
|
|
Panu Matilainen |
27c7ab |
|
|
Panu Matilainen |
27c7ab |
/* Clear the old bits so they do not affect the new hash. */
|
|
Panu Matilainen |
27c7ab |
- memset ((char *) build_id->d_buf + build_id_offset, 0, build_id_offset);
|
|
Panu Matilainen |
27c7ab |
+ memset ((char *) build_id->d_buf + build_id_offset, 0, build_id_size);
|
|
Panu Matilainen |
27c7ab |
|
|
Panu Matilainen |
27c7ab |
hashFunctionContextInit (&ctx, hf);
|
|
Panu Matilainen |
27c7ab |
|
|
Panu Matilainen |
27c7ab |
|