Bug 703

Summary: SSSD support possibly broken in sudo 1.8.14
Product: Sudo Reporter: Evangelos Foutras <evangelos>
Component: SudoersAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: normal CC: robin+sssd
Priority: low    
Version: 1.8.14   
Hardware: PC   
OS: Linux   
Attachments: Fix for sudo_sss_attrcpy() failure

Description Evangelos Foutras 2015-07-17 13:39:28 MDT
According to a downstream report in Arch Linux, SSSD support is broken in sudo 1.8.14. [1]

The user who requested to enable SSSD support in our Arch Linux package posted the following error messages:

  sudo: sudo_sss_attrcpy: unable to allocate memory
  sudo: sudo_sss_rulecpy: unable to allocate memory

He also reports that 1.8.13 built with the same options works fine.

On a side note, http://www.sudo.ws/repos/sudo is returning an error, so I can't browse the history for 1.8.13..1.8.14 to see if there are any relevant changes.

[1] https://bugs.archlinux.org/task/45596
Comment 1 Todd C. Miller 2015-07-17 13:41:30 MDT
Fixed the hg repo links.
Comment 2 Todd C. Miller 2015-07-17 13:59:26 MDT
Created attachment 452 [details]
Fix for sudo_sss_attrcpy() failure

Please try the attached patch.
Comment 3 Robin McCorkell 2015-07-17 14:19:08 MDT
The attached patch indeed fixes the issue.
Comment 4 Todd C. Miller 2015-07-19 10:57:12 MDT
Fixed in sudo 1.8.14p1