Fix debugedit buildid thinko.
Patch from Roland McGrath
This commit is contained in:
parent
9c81ddcc35
commit
2244f42872
@ -1328,7 +1328,7 @@ handle_build_id (DSO *dso, Elf_Data *build_id,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Clear the old bits so they do not affect the new hash. */
|
/* Clear the old bits so they do not affect the new hash. */
|
||||||
memset ((char *) build_id->d_buf + build_id_offset, 0, build_id_offset);
|
memset ((char *) build_id->d_buf + build_id_offset, 0, build_id_size);
|
||||||
|
|
||||||
hashFunctionContextInit (&ctx, hf);
|
hashFunctionContextInit (&ctx, hf);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user