]> granicus.if.org Git - sudo/commit
Move valid domain name check into a new valid_domain() function.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 13 Sep 2016 15:06:25 +0000 (09:06 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 13 Sep 2016 15:06:25 +0000 (09:06 -0600)
commitc73dec723c2dfcac050240820840ab07c83ed992
tree1d39cca10dd6ea7e91ac13da84739c471b01c71e
parent7687dd6527f467f03d418e82bfabe29f0593a821
Move valid domain name check into a new valid_domain() function.
Fix memory leak if getdomainname(2) fails and avoid using heap
garbage for the domain name matching in this case.
plugins/sudoers/match.c