Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <564252F1.5050307@email.cz>
Date: Tue, 10 Nov 2015 21:26:25 +0100
From: smidjar2.reg@...il.cz
To: musl@...ts.openwall.com
Subject: [BUG] nl_langinfo returns NULL instead of empty string

Manual page for nl_langinfo() function says it should return an empty 
string when 'item' is not valid. Musl's implementation currently returns 
NULL. This is causing issue for applications compiled against glibc 
using gnu extensions, such as 'GROUPING' (0x10002) item (which is 
returning '\003\003' for glibc on my system, but NULL when using musl).

One example of such application is 'Champions of Regnum' game. It is 
crashing with musl, because it strncpy() a string returned from the 
function.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.