public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug stdio/16890] New: fwprintf does not print NULL pointers properly
@ 2014-04-30 23:54 james410 at cowgill dot org.uk
  2014-05-01 18:52 ` [Bug stdio/16890] " cvs-commit at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: james410 at cowgill dot org.uk @ 2014-04-30 23:54 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 16890
           Summary: fwprintf does not print NULL pointers properly
           Product: glibc
           Version: 2.19
            Status: NEW
          Severity: minor
          Priority: P2
         Component: stdio
          Assignee: unassigned at sourceware dot org
          Reporter: james410 at cowgill dot org.uk

fwprintf (and associated wide printf functions) print "(" instead of "(nil)"
when passed a NULL pointer to a "%p" format string.

Test Program
----------------------
#include <stdio.h>
#include <wchar.h>

int main(void)
{
    fprintf(stderr, " fprintf: %p\n", NULL);
    fwprintf(stdout, L"fwprintf: %p\n", NULL);
    return 0;
}

Expected Results
----------------------
 fprintf: (nil)
fwprintf: (nil)

Actual Results
----------------------
 fprintf: (nil)
fwprintf: (

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


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

* [Bug stdio/16890] fwprintf does not print NULL pointers properly
  2014-04-30 23:54 [Bug stdio/16890] New: fwprintf does not print NULL pointers properly james410 at cowgill dot org.uk
@ 2014-05-01 18:52 ` cvs-commit at gcc dot gnu.org
  2014-05-01 18:53 ` schwab@linux-m68k.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-05-01 18:52 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  4fdfe821e20a70670b3d03deb2abed5d8c83e51b (commit)
      from  0cdddc25a47509262a9a55a343395971b492b0fa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4fdfe821e20a70670b3d03deb2abed5d8c83e51b

commit 4fdfe821e20a70670b3d03deb2abed5d8c83e51b
Author: Andreas Schwab <schwab@linux-m68k.org>
Date:   Thu May 1 15:50:27 2014 +0200

    Correctly handle %p in wprintf (BZ #16890)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                 |    8 ++++++++
 NEWS                      |    2 +-
 stdio-common/tstdiomisc.c |   19 +++++++++++++++++++
 stdio-common/vfprintf.c   |    3 ++-
 4 files changed, 30 insertions(+), 2 deletions(-)

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


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

* [Bug stdio/16890] fwprintf does not print NULL pointers properly
  2014-04-30 23:54 [Bug stdio/16890] New: fwprintf does not print NULL pointers properly james410 at cowgill dot org.uk
  2014-05-01 18:52 ` [Bug stdio/16890] " cvs-commit at gcc dot gnu.org
@ 2014-05-01 18:53 ` schwab@linux-m68k.org
  2014-06-12 19:29 ` fweimer at redhat dot com
  2015-01-29 13:54 ` lev_ustal_kak at mail dot ru
  3 siblings, 0 replies; 5+ messages in thread
From: schwab@linux-m68k.org @ 2014-05-01 18:53 UTC (permalink / raw)
  To: glibc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.20

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
Fixed in 2.20.

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


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

* [Bug stdio/16890] fwprintf does not print NULL pointers properly
  2014-04-30 23:54 [Bug stdio/16890] New: fwprintf does not print NULL pointers properly james410 at cowgill dot org.uk
  2014-05-01 18:52 ` [Bug stdio/16890] " cvs-commit at gcc dot gnu.org
  2014-05-01 18:53 ` schwab@linux-m68k.org
@ 2014-06-12 19:29 ` fweimer at redhat dot com
  2015-01-29 13:54 ` lev_ustal_kak at mail dot ru
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-12 19:29 UTC (permalink / raw)
  To: glibc-bugs

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

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] 5+ messages in thread

* [Bug stdio/16890] fwprintf does not print NULL pointers properly
  2014-04-30 23:54 [Bug stdio/16890] New: fwprintf does not print NULL pointers properly james410 at cowgill dot org.uk
                   ` (2 preceding siblings ...)
  2014-06-12 19:29 ` fweimer at redhat dot com
@ 2015-01-29 13:54 ` lev_ustal_kak at mail dot ru
  3 siblings, 0 replies; 5+ messages in thread
From: lev_ustal_kak at mail dot ru @ 2015-01-29 13:54 UTC (permalink / raw)
  To: glibc-bugs

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

Lev <lev_ustal_kak at mail dot ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lev_ustal_kak at mail dot ru

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


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

end of thread, other threads:[~2015-01-29 13:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-30 23:54 [Bug stdio/16890] New: fwprintf does not print NULL pointers properly james410 at cowgill dot org.uk
2014-05-01 18:52 ` [Bug stdio/16890] " cvs-commit at gcc dot gnu.org
2014-05-01 18:53 ` schwab@linux-m68k.org
2014-06-12 19:29 ` fweimer at redhat dot com
2015-01-29 13:54 ` lev_ustal_kak at mail dot ru

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