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

2018-06-08 Thread Mark Wielaard
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 fr

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

2018-06-05 Thread Mark Wielaard
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