Bug 54292

Summary: printf buglet, glibc-2.2.4-19
Product: [Retired] Red Hat Linux Reporter: Jeff Johnson <jbj>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: fweimer
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-10-03 17:15:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeff Johnson 2001-10-03 17:15:36 UTC
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>\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 17:20:30 UTC
Ah yes, my bad, sorry for the bother.