diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-06-30 15:59:19 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-06-30 15:59:19 +0000 |
commit | 5ddff162afbddceacb1541e351a089d9d50863a2 (patch) | |
tree | f6531170e3c45d871d666c070386be742535f7a0 | |
parent | c3e205e5bcd06a34686c551993c47a1d78eb7a1b (diff) | |
download | mpfr-5ddff162afbddceacb1541e351a089d9d50863a2.tar.gz |
fixed array bound write (need 6+1 characters in s1 to represent -@inf@ + \0)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2377 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | tests/tget_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tget_str.c b/tests/tget_str.c index 4aa0ddd9a..97e3f1d56 100644 --- a/tests/tget_str.c +++ b/tests/tget_str.c @@ -188,7 +188,7 @@ static void check_large (void) { mpfr_t x; - char *s, s1[5]; + char *s, s1[7]; mp_exp_t e; mpfr_init2 (x, 3322); |