[PATCH] libdw: Make sure id_path can contain max number of build id bytes.

Mark Wielaard mark@klomp.org
Fri Jun 8 10:06:00 GMT 2018


On Tue, 2018-06-05 at 21:33 +0200, Mark Wielaard wrote:
> The MAX_BUILD_ID_BYTES is fairly large (64), while normally build-ids
> are only 20 bytes long. But if we would encounter a jumbo build-id we
> should have enough room to construct the full build-id path.
> 
> We used to substract 2 bytes from the max, because 2 chars are used
> as subdir. But that should be 1 (2 hex chars is just one 8 bit byte).

Pushed to master.



More information about the Elfutils-devel mailing list