From: zacheiss Date: Wed, 22 Oct 2008 16:12:33 +0000 (+0000) Subject: Don't allow records with dollar signs through. X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/5b57b7069325f5c296287afb3f3b2e92df46f3ca Don't allow records with dollar signs through. --- diff --git a/gen/hesiod.pc b/gen/hesiod.pc index 317b0a26..52439722 100644 --- a/gen/hesiod.pc +++ b/gen/hesiod.pc @@ -176,6 +176,8 @@ int valid(char *name) for (sawdot = 1; *name; name++) { + if (*name == '$') + return 0; if (*name == '.') { if (sawdot)