[Bug 202135] nscd does not accept a value of zero for negative-time-to-live for passwd nor group

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 9 07:08:22 UTC 2016


Jov <amutu at amutu.com> changed:

           What    |Removed                     |Added
                 CC|                            |amutu at amutu.com

--- Comment #1 from Jov <amutu at amutu.com> ---
Created attachment 167900
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=167900&action=edit
patch for check nscd configuration value

I make a patch for checking the value for nscd config.

the patch check if the config value valid  as follows when parse the
/etc/nscd.conf,the condition value come from assert statement in various place
from nscd code.

positive-time-to-live > 0
negative-time-to-live > 0
negative-confidence-threshold > 0
suggested-size > 0
keep-hot-count >= 0

the patch against HEAD.

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list