I did a quick review of the IPv6 patch as presented by PTS.
There is a grave misconception in the modification of
"links2/default.c":
A single character variable is allocated, yet it is
used in storing and printing strings:
char addr;
unsigned char *p = (...) &addr;
do_real_lookup(*(*argv -1), &addr) /* Inside conditional statement */
printf("%s\n", addr); /* [sic!] char used as pointer */
Observing that this latter statement is replacing the old call
printf("%d.%d.%d.%d\n", p[0], p[1], p[2], p[3]);
it is fairly obvious that the code is playing games with IPv4 addresses.
Best regards,
Mats Erik Andersson, DM
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]