[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug libc/5443] SIGSEGV occurs in strerror_r()

------- Additional Comments From ryo at np dot css dot fujitsu dot com  2007-12-28 04:28 -------
Created an attachment (id=2163)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2163&action=view)
patch to fix this problem

I propose a following patch.

This patch adds lock between _dcigettext() and setlocale() using lock variables

 __libc_setlocale_lock . So _dcigettext() and setlocale() runs excluisively,
 and avoid segmentation fault.

I comfirmed that problem is resolved with this patch.

best regards,
Ryo Hirukawa



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply to: