Bug #6081
closedDNS Forwarder/Edit Host Override, alias edit buton does not edit correct alias
0%
Description
DNS Forwarder/Edit Host Override, alias edit buton does not edit correct alias
When 2 host overrides A and B are registered, then add a alias B-alias and save it.
Press the edit button for B-alias, now incorrectly host override A is shown.
Updated by Phillip Davis over 8 years ago
Yes, a bug with reusing an index variable again in the inner loop for the aliases. If you enter lots of aliases then the edit button on each one takes you to override index 0, 1, 2, 3...
https://github.com/pfsense/pfsense/pull/2849
I also checked services_unbound.php DNS Resolver. The code there implements the index var differently and has been written OK, it does not have this bug.
Updated by Chris Buechler over 8 years ago
- Status changed from New to Feedback
- Assignee changed from Anonymous to Chris Buechler
merged. Keyword "Redmine #xx" doesn't match redmine's ticket association. Commit 231197bbeb926323362918f8b27c20bb57059eea