Files
binutils-gdb/libctf
Nick Alcock 0daea2d62c libctf: fix ref leak of names of newly-inserted non-root-visible types
A bug in ctf_dtd_delete led to refs in the string table to the
names of non-root-visible types not being removed when the DTD
was.  This seems harmless, but actually it would lead to a write
down a pointer into freed memory if such a type was ctf_rollback()ed
over and then the dict was serialized (updating all the refs as the
strtab was serialized in turn).

Bug introduced in commit fe4c2d5563
("libctf: create: non-root-visible types should not appear in name tables")
which is included in binutils 2.35.

libctf/
	* ctf-create.c (ctf_dtd_delete): Remove refs for all types
	with names, not just root-visible ones.
2024-08-02 11:56:42 +01:00
..
2021-07-18 17:46:54 +01:00
2021-01-05 14:53:40 +00:00
2020-07-22 18:02:19 +01:00
2021-05-09 12:28:32 +09:30
2021-05-09 12:28:32 +09:30
2021-05-09 12:28:32 +09:30
2021-03-18 12:37:55 +00:00