Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1013

Summary: printf with big field width segfaults:
Product: [Retired] Red Hat Linux Reporter: Christoph Rohland <cr>
Component: libcAssignee: David Lawrence <dkl>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-03-11 22:29:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Christoph Rohland 1999-02-01 16:24:02 UTC
#include <stdio.h>

    int ol = 1651, num = -4;
    for (ol=1040; ; ol++)
        printf ("%d: %0*ld\n",ol, ol, (long) num);

segfaults for ol > 1044

Comment 1 Anonymous 1999-02-18 13:02:59 UTC
Somebody out there?

Comment 2 Anonymous 1999-02-22 16:43:59 UTC
Since this request is not processed for a long time I opened the same
report at request no 988. You can close this