[tor-bugs] #32625 [Core Tor/Tor]: If statements to getresuid() and getresgid() in setuid.c shouldn't have an extra space.

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 27 02:57:39 UTC 2019


#32625: If statements to getresuid() and getresgid() in setuid.c shouldn't have an
extra space.
------------------------------+----------------------
     Reporter:  neel          |      Owner:  neel
         Type:  defect        |     Status:  assigned
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+----------------------
 In `setuid.c`:

 {{{
 src/lib/process/setuid.c:  if (getresuid(&ruid, &euid, &suid) != 0 ) {
 src/lib/process/setuid.c:  if (getresgid(&rgid, &egid, &sgid) != 0 ) {
 }}}

 These if statements to `getresuid()` and `getresgid()` shouldn't have an
 extra space.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32625>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list