[Bug 226575] drill -x 192..168.5.25 (two dots in the row) breaks

2019-01-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226575

Oleksandr Tymoshenko  changed:

   What|Removed |Added

 Status|New |In Progress
   Assignee|b...@freebsd.org|go...@freebsd.org
 CC||go...@freebsd.org

--- Comment #3 from Oleksandr Tymoshenko  ---
Drill is a contrib code. I forwarded  report to the upstream bugzilla:
https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=4221

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 226575] drill -x 192..168.5.25 (two dots in the row) breaks

2018-03-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226575

Mark Linimon  changed:

   What|Removed |Added

   Keywords||patch

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 226575] drill -x 192..168.5.25 (two dots in the row) breaks

2018-03-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226575

--- Comment #2 from Maxim Konovalov  ---
Oops, please ignore the first chunk in the patch above.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 226575] drill -x 192..168.5.25 (two dots in the row) breaks

2018-03-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226575

Maxim Konovalov  changed:

   What|Removed |Added

 CC||ma...@freebsd.org

--- Comment #1 from Maxim Konovalov  ---
Hello,

I must admit that now I need to visit a doctor to check my eyes after reading
drill.c.

Here is a rather simple and admittedly naive and incomplete band-aid:

Index: drill.c
===
--- drill.c (revision 325887)
+++ drill.c (working copy)
@@ -695,6 +695,7 @@ main(int argc, char *argv[])
break;
case DRILL_REVERSE:
/* ipv4 or ipv6 addr? */
+printf("name %s\n", name);
if (strchr(name, ':')) {
if (strchr(name, '.')) {
error("Syntax error: both '.' and ':'
seen in address\n");
@@ -747,6 +748,9 @@ main(int argc, char *argv[])
free(name2);
} else {
qname = ldns_dname_new_frm_str(name);
+   if (!qname) {
+   error("%s", "-x implies an ip
address");
+   }
qname_tmp = ldns_dname_reverse(qname);
ldns_rdf_deep_free(qname);
qname = qname_tmp;

%%%

I see a number of other equally suspicious places but unfortunately cannot
invest more time into.

Sorry for that.

Maxim

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 226575] drill -x 192..168.5.25 (two dots in the row) breaks

2018-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226575

Bug ID: 226575
   Summary: drill -x 192..168.5.25 (two dots in the row) breaks
   Product: Base System
   Version: 11.1-RELEASE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: bin
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: meka@tilda.center

drill -x 192..168.5.25
Assertion failed: (rd != NULL), function ldns_rdf_get_type, file
/usr/src/contrib/ldns/rdata.c, line 33.
fish: “drill -x 192..168.5.25” terminated by signal SIGABRT (Abort)

freebsd-version 
11.1-RELEASE-p7

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"