bc core dumped when a value with between 128 and 255 (mod 256) digits
was entered. PR: 12550 Submitted by: Vladimir Tchoukharev chu@gpi.ru Reviewed by: Phil Nelson <phil@cs.wwu.edu> (maintainer of bc)
This commit is contained in:
parent
b9a6a818f5
commit
d6e5fcdb70
@ -9,3 +9,5 @@ bc 1.0.4
|
||||
tar xvzf bc-1.0.4.tar.gz
|
||||
cd bc-1.0.4
|
||||
cvs import src/contrib/bc BC bc1_0_4
|
||||
|
||||
applied patch (PR 12550)
|
||||
|
@ -60,7 +60,7 @@ _PROTOTYPE(int yywrap, (void));
|
||||
/* 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;
|
||||
|
Loading…
Reference in New Issue
Block a user