Attached is a revised patch that limits the number of lookups to 5. Since lookups are from the most specific to the most general, limiting
[ â ]
+ while ((v=dbobj_fetch(&db, k, kl, &vl, "")) == NULL + && (k = strchr(k+1,'.')) != NULL
k=strchr("foo", '.');
k gets assigned a NULL, and the while loop terminates.
+ && dotcount++ < ISLOCAL_MAX_DOT_COUNT) + kl = strlen(k); + address += k-lcaddress;
k is presently NULL.
BOOOOOOOOOOOOOOOOOOOOOOOOOOOOOMMMMMMMMMMMMMMMM !!!!!!!!!!!!!!!!!!!!!!
pgp00000.pgp
Description: PGP signature
