Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
913c91fd
Commit
913c91fd
authored
Jul 19, 2010
by
Greg Geldorp
Committed by
Alexandre Julliard
Jul 19, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt/tests: ecvt on Win9x and NT4 will corrupt memory if nrdigits < 0.
parent
13a7ecff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
printf.c
dlls/msvcrt/tests/printf.c
+2
-1
No files found.
dlls/msvcrt/tests/printf.c
View file @
913c91fd
...
...
@@ -713,6 +713,8 @@ static void test_fcvt(void)
ok
(
0
==
sign
,
"sign wrong
\n
"
);
}
/* Don't test nrdigits < 0, msvcrt on Win9x and NT4 will corrupt memory by
* writing outside allocated memory */
static
struct
{
double
value
;
int
nrdigits
;
...
...
@@ -725,7 +727,6 @@ static struct {
{
45
.
0
,
2
,
"45"
,
"4500"
,
2
,
2
,
0
},
/* Numbers less than 1.0 with different precisions */
{
0
.
0001
,
1
,
"1"
,
""
,
-
3
,
-
3
,
0
},
{
0
.
0001
,
-
10
,
""
,
""
,
-
3
,
-
3
,
0
},
{
0
.
0001
,
10
,
"1000000000"
,
"1000000"
,
-
3
,
-
3
,
0
},
/* Basic sign test */
{
-
111
.
0001
,
5
,
"11100"
,
"11100010"
,
3
,
3
,
1
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment