avoid sending huge names as nscd passwd/group queries
authorRich Felker <dalias@aerifal.cx>
Mon, 16 Mar 2015 03:46:22 +0000 (23:46 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 16 Mar 2015 03:46:22 +0000 (23:46 -0400)
commit4b5ca13fb170314e0e0c37b304ca56171625afd1
tree2db732a3f15e781f81d1706a8b3d042869a04729
parent49d1e7f93129cdcc2ab0cc91832b8a29ccd1570d
avoid sending huge names as nscd passwd/group queries

overly long user/group names are potentially a DoS vector and source
of other problems like partial writes by sendmsg, and not useful.
src/passwd/nscd_query.c