Bug 54292 - printf buglet, glibc-2.2.4-19
printf buglet, glibc-2.2.4-19
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
7.3
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Aaron Brown
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2001-10-03 13:15:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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)
<jbj@redhat.com>\x88\x57\x04\x13";

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




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


How Reproducible:


Steps to Reproduce:
1. 
2. 
3. 

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.