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
56f035b5
Commit
56f035b5
authored
Dec 16, 2011
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Dec 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Avoid reading unitialized variables (Coverity).
parent
a585659e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
encode.c
dlls/crypt32/encode.c
+4
-4
No files found.
dlls/crypt32/encode.c
View file @
56f035b5
...
...
@@ -185,7 +185,7 @@ BOOL WINAPI CRYPT_AsnEncodeSequence(DWORD dwCertEncodingType,
DWORD
i
,
dataLen
=
0
;
TRACE
(
"%p, %d, %08x, %p, %p, %d
\n
"
,
items
,
cItem
,
dwFlags
,
pEncodePara
,
pbEncoded
,
*
pcbEncoded
);
pbEncoded
,
pbEncoded
?
*
pcbEncoded
:
0
);
for
(
i
=
0
,
ret
=
TRUE
;
ret
&&
i
<
cItem
;
i
++
)
{
ret
=
items
[
i
].
encodeFunc
(
dwCertEncodingType
,
NULL
,
...
...
@@ -580,7 +580,7 @@ static BOOL CRYPT_AsnEncodeCRLEntry(const CRL_ENTRY *entry,
DWORD
cItem
=
2
;
BOOL
ret
;
TRACE
(
"%p, %p, %
p
\n
"
,
entry
,
pbEncoded
,
pcbEncoded
);
TRACE
(
"%p, %p, %
d
\n
"
,
entry
,
pbEncoded
,
pbEncoded
?
*
pcbEncoded
:
0
);
if
(
entry
->
cExtension
)
{
...
...
@@ -736,7 +736,7 @@ static BOOL CRYPT_AsnEncodeExtension(CERT_EXTENSION *ext, BYTE *pbEncoded,
};
DWORD
cItem
=
1
;
TRACE
(
"%p, %p, %d
\n
"
,
ext
,
pbEncoded
,
*
pcbEncoded
);
TRACE
(
"%p, %p, %d
\n
"
,
ext
,
pbEncoded
,
pbEncoded
?
*
pcbEncoded
:
0
);
if
(
ext
->
fCritical
)
{
...
...
@@ -3194,7 +3194,7 @@ BOOL WINAPI CRYPT_AsnEncodeOctets(DWORD dwCertEncodingType,
DWORD
bytesNeeded
,
lenBytes
;
TRACE
(
"(%d, %p), %08x, %p, %p, %d
\n
"
,
blob
->
cbData
,
blob
->
pbData
,
dwFlags
,
pEncodePara
,
pbEncoded
,
*
pcbEncoded
);
dwFlags
,
pEncodePara
,
pbEncoded
,
pbEncoded
?
*
pcbEncoded
:
0
);
CRYPT_EncodeLen
(
blob
->
cbData
,
NULL
,
&
lenBytes
);
bytesNeeded
=
1
+
lenBytes
+
blob
->
cbData
;
...
...
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