Anonymous | Login | Signup for a new account | 2019-02-18 04:24 WET |
Main | My View | View Issues | Change Log | Roadmap | Docs | My Account |
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 |
![]() |
||||||
|
![]() |
||||||||||||||||
|
![]() |
|
(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. |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |