Re: Non-const basename: sbin/pfctl

2020-10-13 Thread Alexandr Nedvedicky
Hello, On Tue, Oct 13, 2020 at 10:52:58PM +0200, Christian Weisgerber wrote: > Accommodate a basename(3) that takes a non-const parameter and may > in fact modify the string buffer. > > The length of anchor has already been checked in main(). > > ok? looks OK to me. sashan > > Index: sbi

Non-const basename: sbin/pfctl

2020-10-13 Thread Christian Weisgerber
Accommodate a basename(3) that takes a non-const parameter and may in fact modify the string buffer. The length of anchor has already been checked in main(). ok? Index: sbin/pfctl/pfctl.c === RCS file: /cvs/src/sbin/pfctl/pfctl.c,v