-
MyDNS crashes if you have long RR's (like TXT records), due to an cast to signed char, which will make the expression return an negative number. This negative number is later feeded to malloc(), which fails. The following patch fixes this:
--- mydns-1.1.0/src/mydns/reply.c 2008-12-15 15:50:51.000000000 +0100
+++ mydns-1.1.0/src/mydns/reply.c_ 2008-12-15 15:50:07.000000000 +0100...
2008-12-15 15:52:06 UTC by nobody
-
Yes, 1.2.7 resolves the problem for me. Thank you.
2008-02-25 21:29:21 UTC by jmorgan81
-
Have incorporated this into mydns 1.2.7 please test!
2008-02-22 18:13:52 UTC by howardwilkinson
-
The code is being moved to dynamic buffer allocation. If this is not fixed in 1.2.7 it will be fixed in 1.2.8.
2008-02-22 18:12:17 UTC by howardwilkinson
-
I have implemented a fix for this in 1.2.7 please test.
2008-02-22 18:10:52 UTC by howardwilkinson
-
I believe this to be fixed in 1.2.7 can you please check and let me know. If not I will schedule a fix for 1.2.8!
2008-02-22 17:52:25 UTC by howardwilkinson
-
As far as I can tell this patch has been incorporated into 1.2.7 can you please check.
Also, I think the behaviour in case 3 is "correct" in that mydns currently serves whatever it finds in the database that it can understand, whereas the check routines tell you if the database is "correct". Hence we should get bad data if the check fails but no changes area made.
2008-02-21 14:56:46 UTC by howardwilkinson
-
Incorporated into 1.2.7 release.
2008-02-21 14:46:44 UTC by howardwilkinson
-
Added to 1.2.7 release please check when it hits the streets!
2008-02-21 14:39:49 UTC by howardwilkinson
-
Fixed in 1.2.7.
2008-02-21 14:35:57 UTC by howardwilkinson