Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Bug #816374 » 0001-Fix-server-crash-when-ruleset-does-not-define-tech_r.patch

S2_5 - Marko Lindqvist, 2019-05-11 01:29 AM

View differences:

server/ruleset.c
1806 1806
        ok = FALSE;
1807 1807
        break;
1808 1808
      }
1809
      if (u->require_advance == A_NEVER) {
1810
        ruleset_error(LOG_ERROR, "%s lacks valid tech_req.",
1811
                      rule_name(&u->name));
1812
        ok = FALSE;
1813
        break;
1814
      }
1809 1815
      if (NULL != section_entry_by_name(psection, "gov_req")) {
1810 1816
        char tmp[200] = "\0";
1811 1817
        fc_strlcat(tmp, section_name(psection), sizeof(tmp));
1812
- 
(1-1/2)