Fix debugedit buildid thinko.

Patch from Roland McGrath
This commit is contained in:
Panu Matilainen 2007-08-12 15:27:46 +03:00
parent 9c81ddcc35
commit 2244f42872

View File

@ -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. */
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);