This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/14667] New: [2.16 backport] Don't parse %s format argument as multibyte string
- From: "jrnieder at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 03 Oct 2012 20:42:58 +0000
- Subject: [Bug stdio/14667] New: [2.16 backport] Don't parse %s format argument as multibyte string
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=14667
Bug #: 14667
Summary: [2.16 backport] Don't parse %s format argument as
multibyte string
Product: glibc
Version: 2.16
Status: NEW
Keywords: glibc_2.16
Severity: normal
Priority: P2
Component: stdio
AssignedTo: carlos_odonell@mentor.com
ReportedBy: jrnieder@gmail.com
Classification: Unclassified
Created attachment 6665
--> http://sourceware.org/bugzilla/attachment.cgi?id=6665
cherry-pick commit 715a900c9085907fa749589bf738b192b1a2bda5
The following should be backported to 2.16:
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 passes with the change and does not pass without.
No new test failures.
--
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.