Bug 54292 - printf buglet, glibc-2.2.4-19
Summary: printf buglet, glibc-2.2.4-19
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-10-03 17:15 UTC by Jeff Johnson
Modified: 2016-11-24 15:21 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-10-03 17:15:41 UTC
Embargoed:


Attachments (Terms of Use)

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.


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