forked from Mirrors/wine-wine
inetcomm: Fully initialize start and length.
Should fix Valgrind warnings 'Conditional jump or move depends on uninitialised value(s)' in inetcomm tests.oldstable
parent
025457e09b
commit
d9bf3b5c4a
|
@ -1629,8 +1629,8 @@ static body_t *create_sub_body(MimeMessage *msg, IStream *pStm, BODYOFFSETS *off
|
|||
IStream *sub_stream;
|
||||
ULARGE_INTEGER start, length;
|
||||
|
||||
start.u.LowPart = cur->offsets.cbHeaderStart;
|
||||
length.u.LowPart = cur->offsets.cbBodyEnd - cur->offsets.cbHeaderStart;
|
||||
start.QuadPart = cur->offsets.cbHeaderStart;
|
||||
length.QuadPart = cur->offsets.cbBodyEnd - cur->offsets.cbHeaderStart;
|
||||
create_sub_stream(pStm, start, length, &sub_stream);
|
||||
sub_body = create_sub_body(msg, sub_stream, &cur->offsets, body);
|
||||
IStream_Release(sub_stream);
|
||||
|
|
Loading…
Reference in New Issue