Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 01 Nov 2020 21:06:16 +0200
From: Alexander Vitiuk <suda@....net>
To: musl@...ts.openwall.com
Cc: 
Subject: swprintf possible bug

Hello!
It seems, wsprintf() / wprintf() are not working in musl as expected, if uses with cyrillic:

C testcase:
#include <wchar.h>
int main() {
  wprintf(L"[hello]\n");
  wprintf(L"[Привет]\n");
 return 0;
}
on x86_64-linux-gnu prints:
[hello]
[Privet]
and on x86_64-linux-musl prints: [hello]
[

There are other cases described:
https://github.com/emscripten-core/emscripten/issues/11947

Content of type "text/html" skipped

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.