This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/1041] New: swprintf failed to convert %s format in some condition.


This attached program failed when last character of string is alphabet or number.
I'm running in ko_KR.UTF-8 locale.

for example, 

$ locale
LANG=ko_KR.UTF-8
LC_CTYPE="ko_KR.UTF-8"
LC_NUMERIC="ko_KR.UTF-8"
LC_TIME="ko_KR.UTF-8"
LC_COLLATE="ko_KR.UTF-8"
LC_MONETARY="ko_KR.UTF-8"
LC_MESSAGES="ko_KR.UTF-8"
LC_PAPER="ko_KR.UTF-8"
LC_NAME="ko_KR.UTF-8"
LC_ADDRESS="ko_KR.UTF-8"
LC_TELEPHONE="ko_KR.UTF-8"
LC_MEASUREMENT="ko_KR.UTF-8"
LC_IDENTIFICATION="ko_KR.UTF-8"
LC_ALL=
$./swprintfbug °¡³ª´Ù
°¡³ª´Ù
$ ./swprintfbug 123
Error occured in swprintf
$ ./swprintfbug abc
Error occured in swprintf
$ ./swprintfbug 123°¡³ª´Ù
123°¡³ª´Ù

-- 
           Summary: swprintf failed to convert %s format in some condition.
           Product: glibc
           Version: 2.3.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: eungkyu at sparcs dot kaist dot ac dot kr
                CC: glibc-bugs at sources dot redhat dot com
  GCC host triplet: i386


http://sources.redhat.com/bugzilla/show_bug.cgi?id=1041

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]