Commit 665a0424 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

winebuild: Document the correlation of spec->ordinals and spec->limit with an…

winebuild: Document the correlation of spec->ordinals and spec->limit with an assertion (Coverity 902).
parent 474276d5
......@@ -549,6 +549,7 @@ static void output_module16( DLLSPEC *spec )
if (!spec->ordinals)
{
assert(spec->limit == 0);
spec->ordinals = xmalloc( sizeof(spec->ordinals[0]) );
spec->ordinals[0] = NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment