Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
cf353535
Commit
cf353535
authored
Aug 15, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Aug 16, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: Remove redundant check of pbSignedDataMsg (Coverity).
parent
1626da2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
crypt.c
dlls/wintrust/crypt.c
+1
-3
No files found.
dlls/wintrust/crypt.c
View file @
cf353535
...
...
@@ -233,9 +233,7 @@ BOOL WINAPI CryptSIPGetSignedDataMsg(SIP_SUBJECTINFO* pSubjectInfo, DWORD* pdwEn
&
len
);
if
(
!
ret
)
goto
error
;
if
(
!
pbSignedDataMsg
)
*
pcbSignedDataMsg
=
pCert
->
dwLength
;
else
if
(
*
pcbSignedDataMsg
<
pCert
->
dwLength
)
if
(
*
pcbSignedDataMsg
<
pCert
->
dwLength
)
{
*
pcbSignedDataMsg
=
pCert
->
dwLength
;
SetLastError
(
ERROR_INSUFFICIENT_BUFFER
);
...
...
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