Re: sudo dumping core on recent current
"Todd C. Miller" <[email protected]>
| Newsgroups | gmane.os.netbsd.current |
|---|---|
| Message-ID | <[email protected]> |
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. - todd