|
Bugzilla – Full Text Bug Listing |
| Summary: | When setting the group_plugin in sudoers to system_group.so, sudo produces seg fault | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Kevin <napuzk> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | high | ||
| Priority: | low | ||
| Version: | 1.8.10 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: |
sudo strace output
Fix for undefined symbol in system_group.so |
||
Created attachment 414 [details]
Fix for undefined symbol in system_group.so
I don't get a crash but I do see an undefined symbol. The attached patch exports sudo_dso_findsym() which fixes the problem for me on CentOS 7.
That fixed it for me as well. Thanx for the speedy reply and fix. Fixed in sudo 1.8.11. |
Created attachment 413 [details] sudo strace output This has been tested on RedHat 7.0, 6.2 and CentOS 6.2. compiling sudo with just ./configure, and no options Update the sudoers file with Defaults group_plugin=system_group.so results in $ sudo -V Sudo version 1.8.10p3 Segmentation fault This line is produced in a dmesg output, sudo[19078] general protection ip:7f0e48984088 sp:71d19e43204b79d0 error:0 in ld-2.12.so[7f0e4896d000+20000] I have attached an strace run as the root user if that helps. Thanx