Bug 645

Summary: [patch]: fix FD leak in boottime.c introduced by fix for CVE-2013-1775
Product: Sudo Reporter: Jamie Anderson <jamieand>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: normal    
Priority: low    
Version: 1.7.2   
Hardware: PC   
OS: Linux   
Attachments: patch for boottime.c to close FD leak

Description Jamie Anderson 2014-04-28 08:12:32 MDT
Created attachment 405 [details]
patch for boottime.c to close FD leak

This is a small patch to fix a file descriptor leak boottime.c that was introduced by the patch for http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1775

This patch was developed against 1.7.2p1, but should apply cleanly against the current state of the maintenance branch.
Comment 1 Todd C. Miller 2014-04-28 08:37:04 MDT
I've applied the fix, thanks.
Comment 2 Todd C. Miller 2014-05-07 13:25:25 MDT
Fixed in sudo 1.8.10p3