Subject: | process_k5beta7_policy is called with too few arguments |
src/kadmin/dbutil/dump.c: line 1989 and 2025
process_k5beta7_policy is called with too few arguments.
A Patch is attached. Another solution woud be to remove the last
parameter from the declaration of process_k5beta7_policy. It is not
used in the function.
process_k5beta7_policy is called with too few arguments.
A Patch is attached. Another solution woud be to remove the last
parameter from the declaration of process_k5beta7_policy. It is not
used in the function.
--- src/kadmin/dbutil/dump.c
+++ src/kadmin/dbutil/dump.c 2006/09/13 08:27:05
@@ -1986,7 +1986,7 @@
linenop);
else if (strcmp(rectype, "policy") == 0)
process_k5beta7_policy(fname, kcontext, filep, verbose,
- linenop);
+ linenop, NULL);
else {
fprintf(stderr, "unknown record type \"%s\" on line %d\n",
rectype, *linenop);
@@ -2022,7 +2022,7 @@
linenop);
else if (strcmp(rectype, "policy") == 0)
process_k5beta7_policy(fname, kcontext, filep, verbose,
- linenop);
+ linenop, NULL);
else if (strcmp(rectype, "End") == 0)
return -1;
else {
+++ src/kadmin/dbutil/dump.c 2006/09/13 08:27:05
@@ -1986,7 +1986,7 @@
linenop);
else if (strcmp(rectype, "policy") == 0)
process_k5beta7_policy(fname, kcontext, filep, verbose,
- linenop);
+ linenop, NULL);
else {
fprintf(stderr, "unknown record type \"%s\" on line %d\n",
rectype, *linenop);
@@ -2022,7 +2022,7 @@
linenop);
else if (strcmp(rectype, "policy") == 0)
process_k5beta7_policy(fname, kcontext, filep, verbose,
- linenop);
+ linenop, NULL);
else if (strcmp(rectype, "End") == 0)
return -1;
else {