Mantis Bugtracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000023 [MyDNS-NG] Global crash have not tried 2009-05-04 11:43 2009-11-15 18:36
Reporter fabriziopicconi View Status public  
Assigned To howardwilkinson
Priority normal Resolution fixed Platform
Status resolved   OS
Projection none   OS Version
ETA none Fixed in Version 1.2.8 Product Version 1.2.8.23
  Target Version Product Build
Summary 0000023: NAPTR problem 1.2.8.27
Description Naptr doesn't work without patch shown in the next section.
I hope this patch will be included in the next release.
Best regards.
Steps To Reproduce
Additional Information --- lib/strsep_quotes.c Mon Feb 02 15:52:34 2009
+++ lib/strsep_quotes.c Mon May 04 08:30:41 2009
@@ -64,6 +64,7 @@
 
   /* Terminate token and set *stringp past NUL */
   *end++ = '\0';
+ for (; *end && isspace(*end); end++) /* DONOTHING */;
   *stringp = end;
 
   return (begin);
@@ -113,7 +114,11 @@
   destlen = end - begin;
 
   *dest = STRNDUP(begin, destlen);
- *dest[destlen] = '\0';
+ (*dest)[destlen] = '\0';
+
+ if((*end)&&(quote!='\0'))
+ end++;
+ for (; *end && isspace(*end); end++) /* DONOTHING */;
 
   /* Terminate token and set *stringp past NUL */
   *stringp = end;
--- src/lib/rr.c Tue Feb 03 11:15:26 2009
+++ src/lib/rr.c Mon May 04 08:31:44 2009
@@ -317,8 +317,8 @@
   if (!strsep_quotes2(&p, &__MYDNS_RR_NAPTR_REPLACEMENT(rr)))
     return (-1);
 
- __MYDNS_RR_DATA_LENGTH(rr) = 0;
- RELEASE(__MYDNS_RR_DATA_VALUE(rr));
+ //__MYDNS_RR_DATA_LENGTH(rr) = 0;
+ //RELEASE(__MYDNS_RR_DATA_VALUE(rr));
 
   return 0;
 }
Tags No tags attached.
Attached Files ? file icon mydns-1.2.8.27_NAPTR.patch [^] (976 bytes) 2009-05-13 13:34

- Relationships
has duplicate 0000020closedhowardwilkinson NAPTR problem 1.2.8.27 
has duplicate 0000021closedhowardwilkinson NAPTR problem 1.2.8.27 
has duplicate 0000022closedhowardwilkinson NAPTR problem 1.2.8.27 

-  Notes
(0000062)
jorge (administrator)
2009-05-11 10:39

Howard,
Can you confirm this and include the patch?
(0000063)
fabriziopicconi (reporter)
2009-05-12 08:03

You can find the body of the patch file in "Additional Information" section.
(0000064)
fabriziopicconi (reporter)
2009-05-12 08:07

when I try to upload patch file I receive follow message:
APPLICATION ERROR 0000015
File upload failed. File is not readable by Mantis. Please check the project settings.
(0000065)
jorge (administrator)
2009-05-12 10:51

You're right, my fault.
Missed one thing on the virtualhost setup.
Fixed.
(0000066)
fabriziopicconi (reporter)
2009-05-13 13:36

Now I am able to upload patch file: please include it in next software release.
(0000069)
howardwilkinson (administrator)
2009-06-28 12:04

I will include this fix in the 1.2.8.28 patch release which I plan for next month!
(0000081)
fabriziopicconi (reporter)
2009-07-14 10:26

I'm waiting your next release.
Thank you.
(0000106)
jorge (administrator)
2009-11-15 18:36

Added on trunk and 1.2.8 tag, on svn.

- Issue History
Date Modified Username Field Change
2009-05-04 11:43 fabriziopicconi New Issue
2009-05-11 10:39 jorge Status new => assigned
2009-05-11 10:39 jorge Assigned To => howardwilkinson
2009-05-11 10:39 jorge Note Added: 0000062
2009-05-12 08:03 fabriziopicconi Note Added: 0000063
2009-05-12 08:07 fabriziopicconi Note Added: 0000064
2009-05-12 10:50 jorge File Added: _F51D765F6D13CEB2AB679D.exe
2009-05-12 10:50 jorge File Deleted: _F51D765F6D13CEB2AB679D.exe
2009-05-12 10:51 jorge Note Added: 0000065
2009-05-12 11:08 jorge Relationship added has duplicate 0000020
2009-05-12 11:08 jorge Relationship added has duplicate 0000021
2009-05-12 11:08 jorge Relationship added has duplicate 0000022
2009-05-13 13:34 fabriziopicconi File Added: mydns-1.2.8.27_NAPTR.patch
2009-05-13 13:36 fabriziopicconi Note Added: 0000066
2009-06-28 12:04 howardwilkinson Note Added: 0000069
2009-07-14 10:26 fabriziopicconi Note Added: 0000081
2009-11-15 18:36 jorge Note Added: 0000106
2009-11-15 18:36 jorge Status assigned => resolved
2009-11-15 18:36 jorge Fixed in Version => 1.2.8
2009-11-15 18:36 jorge Resolution open => fixed


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker