BIND 8.2.2, trouble with dnssigner in contrib
Olafur Gudmundsson
ogud at tislabs.com
Wed Oct 20 14:51:20 UTC 1999
Olafur Gudmundsson writes:
> "Michael Milligan" writes:
> >
> > Hmm, couldn't build dnssigner. I did a little bit of digging, but (at th
>>is
> > hour) couldn't grok the logic behind the GETWORDorEOLN macro used in
> > parse/master_parse.c to figure out what to do. Probably obvious to the
> > author.
> >
> > System info FWIW: Linux, SuSE 6.0 (glibc 2.0.7), kernel 2.2.12, gcc 2.7.
>>2.3
> >
> > Regards,
> > Mike
> >
> > --
>
> Stupid me, I'm sure I did make clean before subitting prior patch and
> tested it but here is a fix to the fix for Monster CERT and KEY records.
>
> Olafur
Double error, I included the wrong patch in my previous message.
Please disregard the monster patch and use this one instead.
SORRY the patch file names differed by one letter.
Olafur
Index: master_parse.c
===================================================================
RCS file: /proj/cvs/isc/bind/contrib/dns_signer/parse/master_parse.c,v
retrieving revision 1.1
diff -u -r1.1 master_parse.c
--- master_parse.c 1999/01/05 03:02:30 1.1
+++ master_parse.c 1999/10/20 14:08:16
@@ -104,7 +104,7 @@
do
{
- GETWORDorEOLN (ret_code, errors, first_token, *non_rr, "First word",
+ GETWORDorEOLN (ret_code, errors, first_token, sizeof(first_token), *non_rr, "First word",
FREE_SCRATCH_UPDATE_ERRORS_AND_RETURN_NEG1);
if (ret_code == GW_EOLN)
Index: parse_record.c
===================================================================
RCS file: /proj/cvs/isc/bind/contrib/dns_signer/parse/parse_record.c,v
retrieving revision 1.1
diff -u -r1.1 parse_record.c
--- parse_record.c 1999/01/05 03:02:33 1.1
+++ parse_record.c 1999/10/20 14:08:16
@@ -86,7 +86,7 @@
do
{
- GETWORD (ret_val, errors, buffer, *non_rr,
+ GETWORD (ret_val, errors, buffer, sizeof(buffer), *non_rr,
"Parsing {ttl,class,type}", RETURN_NEG1);
unidentified_parsing_object = TRUE;
More information about the bind-workers
mailing list