On 16/12/2025 09:41, Todd C. Miller wrote:
On Tue, 16 Dec 2025 08:48:26 +1300, Lloyd Parkes wrote:It seems that my sudo is passing a null path to ts_secure_opendir() which ends up getting passed to strrchr() causing the core dump. I'll pull the thread on this and see where it leads (I'm sure that's a mixed metaphor).That could be due to either _PATH_SUDO_TIMEDIR or _PATH_SUDO_LECTURE_DIR not being defined in pathnames.h. The code should really check for NULL in those cases but currently does not. I'll make a change to that effect.
I wouldn't prioritise that. I can see that the the default value is good to start with and bad later on.
Something strange is going on and I need to dig a lot more.I can also see that a "normal" build outside of pkgsrc works fine so I should be able to use this to narrow down where things are going wrong.
Ngā mihi, Lloyd