[Bug libctf/32903] Error pointer overwritten on successful dict open in ctf_dict_open

2025-05-23 Thread nick.alcock at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32903 Nick Alcock changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libctf/32903] Error pointer overwritten on successful dict open in ctf_dict_open

2025-05-23 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=32903 --- Comment #6 from Sourceware Commits --- The master branch has been updated by Nick Alcock : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=14303d6295e1bfd8a4e1b447057b78ce583be75d commit 14303d6295e1bfd8a4e1b447057b78ce583be75

[Bug libctf/32903] Error pointer overwritten on successful dict open in ctf_dict_open

2025-05-20 Thread nick.alcock at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32903 --- Comment #5 from Nick Alcock --- OK, so having added some actual tests for this, more than ctf_bufopen needs fixing: a bunch of ctf_archive entry points do too. Fix under test (not just on v4: against master too). We still do not set the c

[Bug libctf/32903] Error pointer overwritten on successful dict open in ctf_dict_open

2025-05-12 Thread nick.alcock at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32903 --- Comment #4 from Nick Alcock --- I'm piling another fix in on top of this on the v4 branch, and getting ctf_bufopen to always set its errp to 0 on success, so it always has a defined value after an open come what may. -- You are receiving

[Bug libctf/32903] Error pointer overwritten on successful dict open in ctf_dict_open

2025-05-08 Thread nick.alcock at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32903 Nick Alcock changed: What|Removed |Added Assignee|unassigned at sourceware dot org |nick.alcock at oracle dot com

[Bug libctf/32903] Error pointer overwritten on successful dict open in ctf_dict_open

2025-04-28 Thread nick.alcock at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32903 --- Comment #2 from Nick Alcock --- Formally, we do not define what happens to the err pointer except on failure, but I'd agree that overwriting it with junk is bad! I agree with the fix, and will drop something like it into the CTFv4 branch

[Bug libctf/32903] Error pointer overwritten on successful dict open in ctf_dict_open

2025-04-24 Thread bruce.mcculloch at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32903 Bruce McCulloch changed: What|Removed |Added CC||bruce.mcculloch at oracle dot com,

[Bug libctf/32903] Error pointer overwritten on successful dict open in ctf_dict_open

2025-04-24 Thread bruce.mcculloch at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32903 Bruce McCulloch changed: What|Removed |Added Attachment #16048|0 |1 is obsolete|