Bug 7145
Summary: | bc severely mishandles large input strings | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | James Manning <jmm> |
Component: | bc | Assignee: | Trond Eivind Glomsrxd <teg> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.1 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-04-06 22:39:44 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
James Manning
1999-11-19 16:10:03 UTC
here is the fix: --- scan.c~ Tue Apr 22 05:57:52 1997 +++ scan.c Sat Apr 1 02:39:17 2000 @@ -228,7 +228,7 @@ /* Variables to help interface readline with bc. */ static char *rl_line = (char *)NULL; static char *rl_start = (char *)NULL; -static char rl_len = 0; +static int rl_len = 0; /* Definitions for readline access. */ extern FILE *rl_instream; --- scan.l~ Tue Apr 22 05:57:00 1997 +++ scan.l Sat Apr 1 02:39:00 2000 @@ -60,7 +60,7 @@ /* Variables to help interface readline with bc. */ static char *rl_line = (char *)NULL; static char *rl_start = (char *)NULL; -static char rl_len = 0; +static int rl_len = 0; /* Definitions for readline access. */ extern FILE *rl_instream; A fixed RPM should be available in the next Raw Hide - thanks for the patch. |