This got fixed in sudo 1.9.11 during some code reorganization as part of https://www.sudo.ws/repos/sudo/rev/1b5f9ed2160a That's why I couldn't reproduce it with the latest sudo sources. - todd