This is the mail archive of the glibc-bugs@sourceware.org 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 stdio/14668] New: [2.15 backport] Don't parse %s format argument as multibyte string


http://sourceware.org/bugzilla/show_bug.cgi?id=14668

             Bug #: 14668
           Summary: [2.15 backport] Don't parse %s format argument as
                    multibyte string
           Product: glibc
           Version: 2.15
            Status: NEW
          Keywords: glibc_2.15
          Severity: normal
          Priority: P2
         Component: stdio
        AssignedTo: carlos_odonell@mentor.com
        ReportedBy: jrnieder@gmail.com
    Classification: Unclassified


Created attachment 6666
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6666
cherry-pick commit 715a900c9085907fa749589bf738b192b1a2bda5

The following should be backported to 2.15:

commit 715a900c9085907fa749589bf738b192b1a2bda5
Author: Jeff Law <law@redhat.com>
Date:   Fri Sep 28 12:48:42 2012 -0600

    2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>

            [BZ #6530]
            * stdio-common/vfprintf.c (process_string_arg): Revert
            2000-07-22 change.

    2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>

            * stdio-common/Makefile (tst-sprintf-ENV): Set environment
            for testcase.
            * stdio-common/tst-sprintf.c: Include <locale.h>
            (main): Test sprintf's handling of incomplete multibyte
            characters.

Backport attached.  Its test passes with the change and does not pass
without.  Full testsuite passed before and after applying.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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