Bug 1013 - printf with big field width segfaults:
printf with big field width segfaults:
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: libc (Show other bugs)
5.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-02-01 11:24 EST by Christoph Rohland
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-03-11 17:29:12 EST
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 Christoph Rohland 1999-02-01 11:24:02 EST
#include <stdio.h>

main()
{
    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 08:02:59 EST
Somebody out there?
Comment 2 Anonymous 1999-02-22 11:43:59 EST
Since this request is not processed for a long time I opened the same
report at www-gnats.gnu.org request no 988. You can close this
request...

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