diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2025-04-25 18:42:55 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2025-04-25 21:23:07 +0100 |
commit | adc6ca003a31e160ffb2dc39be535dbe26d7c2dc (patch) | |
tree | 5e0ff60c4737ed8924608be2e1df6f141766df63 /libctf/ctf-intl.h | |
parent | 3a6e1f87e71a38ea8d49b9b12b81a4d2fe3fad89 (diff) | |
download | binutils-adc6ca003a31e160ffb2dc39be535dbe26d7c2dc.zip binutils-adc6ca003a31e160ffb2dc39be535dbe26d7c2dc.tar.gz binutils-adc6ca003a31e160ffb2dc39be535dbe26d7c2dc.tar.bz2 |
libctf: dedup: fix a broken error path in string dedup
If we run out of memory updating the string counts, set the right errno:
ctf_dynhash_insert returns a *negative* error value, and we want a positive
one in the ctf_errno.
Diffstat (limited to 'libctf/ctf-intl.h')
0 files changed, 0 insertions, 0 deletions