bugGNUstep - Bugs: bug #21320, Thread safety

Group
 
 

bug #21320: Thread safety

Submitter:  Larry Campbell <lcampbel>
Submitted:  Wed 10 Oct 2007 11:18:08 PM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 20 Feb 2008 09:22:21 AM UTC, comment #1: 

Some were already lock protected, some I've fixed.

Richard Frith-Macdonald <CaS>
Group Member
Wed 10 Oct 2007 11:18:08 PM UTC, original submission:  

A quick scan through the Foundation sources show several thread-unsafe system calls being used. These should be replaced with thread-safe alternatives (for example, inet_ntop instead of inet_ntoa), or protected by locks if no thread-safe alternative is available.

The ones I noticed include (with thread-safe alternative if known):

inet_ntoa (inet_ntop)
strerror (strerror_r)
gethostbyaddr
getgrgid
getpwuid
getpwnam
getgrnam
nl_langinfo
localeconv

Larry Campbell <lcampbel>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by lcampbel (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-02-20 CaS StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code