]> andersk Git - moira.git/commitdiff
Don't dump core if we have a string_id with no associated string.
authorzacheiss <zacheiss>
Mon, 6 Mar 2000 21:32:28 +0000 (21:32 +0000)
committerzacheiss <zacheiss>
Mon, 6 Mar 2000 21:32:28 +0000 (21:32 +0000)
gen/genacl.pc

index 24f2a9f18fa3acfc47a0a456f34f5f9985f5d4ab..0ed1a07299f3e2a075b516a05f6909b9d2070601 100644 (file)
@@ -47,7 +47,7 @@ void dump_krb_acl(FILE *out, char *type, int id, int vers)
   sq = get_acl(type, id, NULL);
   while (sq_remove_data(sq, &m))
     {
-      if (m->type != 'S')
+      if (m->type != 'S' && m->name != NULL)
        {
          canon_krb(m, vers, kbuf, sizeof(kbuf));
          fprintf(out, "%s\n", kbuf);
This page took 0.063305 seconds and 5 git commands to generate.