svn commit: r307402 - head/usr.sbin/bsdconfig/share

Devin Teske devin at shxd.cx
Sun Dec 11 01:28:45 UTC 2016


I'm out of work and applying for jobs, so please be patient

-- 
Devin

>> On Dec 10, 2016, at 3:25 PM, Oliver Pinter <oliver.pinter at hardenedbsd.org> wrote:
>> 
>> On 10/16/16, Devin Teske <dteske at freebsd.org> wrote:
>> Author: dteske
>> Date: Sun Oct 16 20:59:28 2016
>> New Revision: 307402
>> URL: https://svnweb.freebsd.org/changeset/base/307402
>> 
>> Log:
>> Guard against bad service name argument(s) to load_rc_config()
>> 
>> MFC after:    3 days
>> X-MFC-to:    stable/11 stable/10
> 
> Is this MFC still needed? The 3 days already expired.
> 
>> 
>> Modified:
>> head/usr.sbin/bsdconfig/share/sysrc.subr
>> 
>> Modified: head/usr.sbin/bsdconfig/share/sysrc.subr
>> ==============================================================================
>> --- head/usr.sbin/bsdconfig/share/sysrc.subr    Sun Oct 16 19:50:10
>> 2016    (r307401)
>> +++ head/usr.sbin/bsdconfig/share/sysrc.subr    Sun Oct 16 20:59:28
>> 2016    (r307402)
>> @@ -256,7 +256,9 @@ f_sysrc_service_configs()
>>           last_name=
>>           print_name() {
>>               local name="$1"
>> -                [ "$name" = "$last_name" ] && return
>> +                case "$name" in
>> +                ""|.|..|*/*|"$last_name") return ;;
>> +                esac
>>               echo "$name" >&9
>>               last_name="$name"
>>           }
>> _______________________________________________
>> svn-src-head at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/svn-src-head
>> To unsubscribe, send any mail to "svn-src-head-unsubscribe at freebsd.org"
> 



More information about the svn-src-all mailing list