Bug#980364: sudo: segfault when /var/lib/sudo/lectured not writable

2021-03-08 Thread Frank Heckenbach
Hi Marc, > Is it ok for you if I close this bug? Sure. > > Most likely unrelated, but one thing I did notice when checking the > > code is that sudo_mkdir_parents might UB if path is an empty string, > > since it first does "char *slash = path; strchr (slash + 1, '/');". > > > > Now I don't

Bug#980364: sudo: segfault when /var/lib/sudo/lectured not writable

2021-03-07 Thread Marc Haber
Hi Frank, thanks for your asnwer! On Mon, Mar 08, 2021 at 01:04:36AM +0100, Frank Heckenbach wrote: > Unfortunately, I can't easily try to reproduce it, either. (It was a > server, so we had to quickly reboot it to get it running again and > replace the defective disk soon after; when it

Bug#980364: sudo: segfault when /var/lib/sudo/lectured not writable

2021-03-07 Thread Frank Heckenbach
> > On a system with disk errors, which had therefore remounted its > > file systems read-only, I tried to sudo in order to do further > > diagnostics as root, but sudo crashed with a segfault. > > I tried reproducing this with sudo 1.8.27-1+deb10u3, on a clean file > system, mounted read-only,

Bug#980364: sudo: segfault when /var/lib/sudo/lectured not writable

2021-02-22 Thread Marc Haber
tags #980364 unreproducible thanks On Mon, Jan 18, 2021 at 07:09:35AM +0100, Frank Heckenbach wrote: > Package: sudo > Version: 1.8.27-1+deb10u2 > Severity: normal > > On a system with disk errors, which had therefore remounted its > file systems read-only, I tried to sudo in order to do further

Bug#980364: sudo: segfault when /var/lib/sudo/lectured not writable

2021-01-17 Thread Frank Heckenbach
Package: sudo Version: 1.8.27-1+deb10u2 Severity: normal On a system with disk errors, which had therefore remounted its file systems read-only, I tried to sudo in order to do further diagnostics as root, but sudo crashed with a segfault. I think it should be possible (perhaps with a special