]> andersk Git - moira.git/commitdiff
Don't allow records with dollar signs through.
authorzacheiss <zacheiss>
Wed, 22 Oct 2008 16:12:33 +0000 (16:12 +0000)
committerzacheiss <zacheiss>
Wed, 22 Oct 2008 16:12:33 +0000 (16:12 +0000)
gen/hesiod.pc

index 317b0a264c43b0688d887137c8e0016e35b47949..524397229bf57358662d23a46c760d6528b95746 100644 (file)
@@ -176,6 +176,8 @@ int valid(char *name)
 
   for (sawdot = 1; *name; name++)
     {
+      if (*name == '$')
+       return 0;
       if (*name == '.')
        {
          if (sawdot)
This page took 0.039043 seconds and 5 git commands to generate.