to three decimal places. More decimal places should
be allowed and silently truncated.
+1192. [bug] The seconds fields in LOC records were restricted
+ to three decimal places. More decimal places should
+ be allowed and silently truncated.
+
1191. [bug] A dynamic update removing the last non-apex name in
a secure zone would fail. [RT #2399]
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: loc_29.c,v 1.33 2002/01/21 01:07:19 marka Exp $ */
+/* $Id: loc_29.c,v 1.34 2002/01/27 20:52:47 bwelling Exp $ */
/* Reviewed: Wed Mar 15 18:13:09 PST 2000 by explorer */
}
for (; i < 3; i++)
s1 *= 10;
- if (*e != 0)
- RETTOK(DNS_R_SYNTAX);
+ while (*e != 0) {
+ if (decvalue(*e++) < 0)
+ RETTOK(DNS_R_SYNTAX);
+ }
} else
s1 *= 1000;
if (d1 == 90 && s1 != 0)
}
for (; i < 3; i++)
s2 *= 10;
- if (*e != 0)
- RETTOK(DNS_R_SYNTAX);
+ while (*e != 0) {
+ if (decvalue(*e++) < 0)
+ RETTOK(DNS_R_SYNTAX);
+ }
} else
s2 *= 1000;
if (d2 == 180 && s2 != 0)