From 5b57b7069325f5c296287afb3f3b2e92df46f3ca Mon Sep 17 00:00:00 2001 From: zacheiss Date: Wed, 22 Oct 2008 16:12:33 +0000 Subject: [PATCH] Don't allow records with dollar signs through. --- gen/hesiod.pc | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.45.1