1
--- maradns-1.3.14/parse/Csv2_main.c 2009-08-04 11:52:43.000000000 -0500
2
+++ maradns-1.4.01/parse/Csv2_main.c 2009-12-02 10:18:31.000000000 -0600
4
int csv2_parse_zone_bighash(js_string *zone, js_string *filename,
5
mhash *bighash, int32 starwhitis) {
6
csv2_add_state *state; /* State of adding record to database */
8
+ /* No stars in zone names; yes some people who do not RTFM try
9
+ * this then whine when things don't work */
11
+ for(nostar = 0; nostar < (zone->unit_size * zone->unit_count);
13
+ if(*(zone->string + nostar) == '*') {
14
+ printf("Illegal zone name: ");
15
+ for(nostar = 0; nostar <
16
+ (zone->unit_size * zone->unit_count); nostar++) {
17
+ printf("%c",*(zone->string + nostar));
19
+ printf("\nThis is a fatal error.\n");
24
if((state = csv2_init_add_state(zone)) == 0) {
27
--- maradns-1.3.14/doc/en/source/mararc.ej 2009-02-13 02:18:31.000000000 -0600
28
+++ maradns-1.4.01/doc/en/source/mararc.ej 2009-12-11 12:35:25.000000000 -0600
31
for a description of this file's format.
35
+The dictionary index (zone name) can not have a * in it. If it does,
36
+MaraDNS will terminate with an "Illegal zone name" error.
40
csv1: Used to indicate the filename to use for a given zone stored in