Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Ferrillo
wine
Commits
9ff2bbc3
Commit
9ff2bbc3
authored
12 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
gdiplus: Avoid out of bounds access warning.
parent
30e0e3ff
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/gdiplus/tests/image.c
+3
-2
3 additions, 2 deletions
dlls/gdiplus/tests/image.c
with
3 additions
and
2 deletions
dlls/gdiplus/tests/image.c
+
3
−
2
View file @
9ff2bbc3
...
...
@@ -3317,6 +3317,7 @@ static void test_tiff_palette(void)
ColorPalette
pal
;
ARGB
entry
[
256
];
}
palette
;
ARGB
*
entries
=
palette
.
pal
.
Entries
;
/* 1bpp TIFF without palette */
image
=
load_image
((
const
BYTE
*
)
&
TIFF_data
,
sizeof
(
TIFF_data
));
...
...
@@ -3346,8 +3347,8 @@ todo_wine
expect
(
2
,
palette
.
pal
.
Count
);
if
(
palette
.
pal
.
Count
==
2
)
{
ok
(
palette
.
pal
.
E
ntries
[
0
]
==
0xff000000
,
"expected 0xff000000, got %#x
\n
"
,
palette
.
pal
.
E
ntries
[
0
]);
ok
(
palette
.
pal
.
E
ntries
[
1
]
==
0xffffffff
,
"expected 0xffffffff, got %#x
\n
"
,
palette
.
pal
.
E
ntries
[
1
]);
ok
(
e
ntries
[
0
]
==
0xff000000
,
"expected 0xff000000, got %#x
\n
"
,
e
ntries
[
0
]);
ok
(
e
ntries
[
1
]
==
0xffffffff
,
"expected 0xffffffff, got %#x
\n
"
,
e
ntries
[
1
]);
}
GdipDisposeImage
(
image
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment