thomas c35e5c982e In cgetmatch(3), return -1 if a NULL or 0-length name parameter is used.
This situation most notably arises in chkprintcap, when a /etc/printcap
entry has an empty rp= attribute. In that case, cgetmatch would enter
an infinite loop if any entry in the file has multiple names.

This causes lpd to hang at boot time on 5.0-DP2 when both conditions
are met (:rp=: and multiple names -- not necessarily on the same entry).

Reviewed by:	roberto
2003-01-02 10:19:43 +00:00
..
2002-09-30 09:18:54 +00:00
2002-09-28 00:25:32 +00:00
2002-12-28 05:20:03 +00:00
2002-12-27 12:15:40 +00:00
2002-12-27 12:15:40 +00:00
2002-12-27 12:15:40 +00:00
2002-09-28 00:25:32 +00:00
2002-12-27 12:15:40 +00:00
2002-12-27 12:15:40 +00:00
2002-12-27 12:15:40 +00:00
2001-09-30 21:41:46 +00:00
2002-09-28 00:25:32 +00:00
2002-12-30 09:25:30 +00:00
2002-09-28 00:25:32 +00:00
2002-12-27 12:15:40 +00:00
2002-09-28 00:25:32 +00:00
2002-12-27 12:15:40 +00:00
2002-09-28 00:25:32 +00:00
2002-01-06 08:47:19 +00:00
2002-09-28 00:25:32 +00:00
2002-09-28 00:25:32 +00:00
2002-09-28 00:25:32 +00:00
2002-09-28 00:25:32 +00:00
2002-09-28 00:25:32 +00:00
2002-09-28 00:25:32 +00:00