[Bug 1565567] [NEW] segv in sudo_getgrgid

LaMont Jones lamont.jones at canonical.com
Sun Apr 3 22:25:04 UTC 2016


Public bug reported:

If the user is in a group with no name (because libnss-db got removed
and the group was defined there, for example...) then:

the call to sudo_debug_printf in sudo_getgrgid
(plugins/sudoers/pwutil.c, line 462) causes a SEGV when trying to get
item->d.gr->gr_name (since item->d.gr is NULL).

** Affects: sudo (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "trace, etc from gdb."
   https://bugs.launchpad.net/bugs/1565567/+attachment/4622375/+files/sudo.bug

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/1565567

Title:
  segv in sudo_getgrgid

Status in sudo package in Ubuntu:
  New

Bug description:
  If the user is in a group with no name (because libnss-db got removed
  and the group was defined there, for example...) then:

  the call to sudo_debug_printf in sudo_getgrgid
  (plugins/sudoers/pwutil.c, line 462) causes a SEGV when trying to get
  item->d.gr->gr_name (since item->d.gr is NULL).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1565567/+subscriptions



More information about the foundations-bugs mailing list