Notice: We have migrated to GitLab launching 2024-05-01 see here:

#283 closed defect (fixed)

The 'reentrant' password access routines aren't reentrant.

Reported by: Eric Norum Owned by: Jennifer Averett
Priority: lowest Milestone: 2
Component: fs Version: unknown
Severity: normal Keywords:
Cc: bugs@…, joel.sherrill@… Blocked By:


getpwnam_r and getpwuid_r use static buffers.
As well, getpwnam uses a large local array and will likely cause blown stacks some day!


Attachments (1)

pwdPatch (18.2 KB) - added by Eric Norum on 12/03/06 at 13:31:12.

Download all attachments as: .zip

Change History (3)

comment:1 Changed on 09/14/02 at 20:15:33 by Joel Sherrill

Status: assignedwaiting

comment:2 Changed on 10/02/02 at 16:34:48 by Joel Sherrill

Status: waitingclosed

State-Changed-From-To: feedback->closed
State-Changed-Why: Patch applied. Thanks.

Changed on 12/03/06 at 13:31:12 by Eric Norum

Attachment: pwdPatch added


Note: See TracTickets for help on using tickets.