public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug stdio/14668] New: [2.15 backport] Don't parse %s format argument as multibyte string
@ 2012-10-04  1:43 jrnieder at gmail dot com
  2012-12-03 23:52 ` [Bug stdio/14668] " carlos at systemhalted dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jrnieder at gmail dot com @ 2012-10-04  1:43 UTC (permalink / raw)
  To: glibc-bugs


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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug stdio/14668] [2.15 backport] Don't parse %s format argument as multibyte string
  2012-10-04  1:43 [Bug stdio/14668] New: [2.15 backport] Don't parse %s format argument as multibyte string jrnieder at gmail dot com
@ 2012-12-03 23:52 ` carlos at systemhalted dot org
  2014-01-30 18:22 ` carlos at redhat dot com
  2014-06-17  4:09 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: carlos at systemhalted dot org @ 2012-12-03 23:52 UTC (permalink / raw)
  To: glibc-bugs

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

Carlos O'Donell <carlos at systemhalted dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlos at systemhalted dot
                   |                            |org
         AssignedTo|carlos_odonell at mentor    |carlos at systemhalted dot
                   |dot com                     |org

-- 
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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug stdio/14668] [2.15 backport] Don't parse %s format argument as multibyte string
  2012-10-04  1:43 [Bug stdio/14668] New: [2.15 backport] Don't parse %s format argument as multibyte string jrnieder at gmail dot com
  2012-12-03 23:52 ` [Bug stdio/14668] " carlos at systemhalted dot org
@ 2014-01-30 18:22 ` carlos at redhat dot com
  2014-06-17  4:09 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: carlos at redhat dot com @ 2014-01-30 18:22 UTC (permalink / raw)
  To: glibc-bugs

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

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
commit 7def6a63a0298d2e5275820db22eb40ac3dcbe4b
Author: Carlos O'Donell <carlos@redhat.com>
Date:   Thu Jan 30 13:19:58 2014 -0500

    Don't parse %s format argument as multibyte string

    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.

    (cherry picked from commit 715a900c9085907fa749589bf738b192b1a2bda5)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug stdio/14668] [2.15 backport] Don't parse %s format argument as multibyte string
  2012-10-04  1:43 [Bug stdio/14668] New: [2.15 backport] Don't parse %s format argument as multibyte string jrnieder at gmail dot com
  2012-12-03 23:52 ` [Bug stdio/14668] " carlos at systemhalted dot org
  2014-01-30 18:22 ` carlos at redhat dot com
@ 2014-06-17  4:09 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-17  4:09 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-17  4:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-04  1:43 [Bug stdio/14668] New: [2.15 backport] Don't parse %s format argument as multibyte string jrnieder at gmail dot com
2012-12-03 23:52 ` [Bug stdio/14668] " carlos at systemhalted dot org
2014-01-30 18:22 ` carlos at redhat dot com
2014-06-17  4:09 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).