[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug libctf/32903] Error pointer overwritten on successful dict open in
From: |
nick.alcock at oracle dot com |
Subject: |
[Bug libctf/32903] Error pointer overwritten on successful dict open in ctf_dict_open |
Date: |
Tue, 20 May 2025 11:56:43 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32903
--- Comment #5 from Nick Alcock <nick.alcock at oracle dot com> ---
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 ctf_errno except on error, but the err parameter to
functions accepting such should always be set either to zero or to an error, no
matter what, never left unchanged (or set to uninitialized noise).
--
You are receiving this mail because:
You are on the CC list for the bug.