Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 54292 - printf buglet, glibc-2.2.4-19
printf buglet, glibc-2.2.4-19
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Aaron Brown
Depends On:
  Show dependency treegraph
Reported: 2001-10-03 13:15 EDT by Jeff Johnson
Modified: 2016-11-24 10:21 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-10-03 13:15:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jeff Johnson 2001-10-03 13:15:36 EDT
Description of Problem:

This program doesn't print correctly, last char is boogered.

#include <stdio.h>
#include <string.h>

static const char * str = "Jeff Johnson (ARS N3NPQ)

main() {
    fprintf(stderr, "\"%*s\"\n", strlen(str)-4, str);

Version-Release number of selected component (if applicable):

How Reproducible:

Steps to Reproduce:

Actual Results:

Expected Results:

Additional Information:
Comment 1 Jeff Johnson 2001-10-03 13:20:30 EDT
Ah yes, my bad, sorry for the bother.

Note You need to log in before you can comment on or make changes to this bug.