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
38673cc0
Commit
38673cc0
authored
Sep 08, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid a couple of 'clobbered by longjmp' warnings.
parent
fe1ec788
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
cert.c
dlls/crypt32/cert.c
+2
-1
encode.c
dlls/crypt32/encode.c
+8
-4
No files found.
dlls/crypt32/cert.c
View file @
38673cc0
...
...
@@ -2561,7 +2561,7 @@ static const WINE_CERT_PROP_HEADER *CRYPT_findPropID(const BYTE *buf,
static
const
void
*
WINAPI
CRYPT_ReadSerializedElement
(
const
BYTE
*
pbElement
,
DWORD
cbElement
,
DWORD
dwContextTypeFlags
,
DWORD
*
pdwContentType
)
{
const
void
*
context
=
NULL
;
const
void
*
context
;
TRACE
(
"(%p, %ld, %08lx, %p)
\n
"
,
pbElement
,
cbElement
,
dwContextTypeFlags
,
pdwContentType
);
...
...
@@ -2580,6 +2580,7 @@ static const void * WINAPI CRYPT_ReadSerializedElement(const BYTE *pbElement,
BOOL
ret
;
ret
=
TRUE
;
context
=
NULL
;
if
(
dwContextTypeFlags
==
CERT_STORE_ALL_CONTEXT_FLAG
)
{
hdr
=
CRYPT_findPropID
(
pbElement
,
cbElement
,
CERT_CERT_PROP_ID
);
...
...
dlls/crypt32/encode.c
View file @
38673cc0
...
...
@@ -1318,6 +1318,7 @@ static BOOL WINAPI CRYPT_AsnEncodeRdn(DWORD dwCertEncodingType, CERT_RDN *rdn,
{
DWORD
bytesNeeded
=
0
,
lenBytes
,
i
;
blobs
=
NULL
;
ret
=
TRUE
;
if
(
rdn
->
cRDNAttr
)
{
...
...
@@ -1384,7 +1385,7 @@ static BOOL WINAPI CRYPT_AsnEncodeRdn(DWORD dwCertEncodingType, CERT_RDN *rdn,
__EXCEPT
(
page_fault
)
{
SetLastError
(
STATUS_ACCESS_VIOLATION
);
ret
=
FALSE
;
ret
urn
FALSE
;
}
__ENDTRY
HeapFree
(
GetProcessHeap
(),
0
,
blobs
);
...
...
@@ -4953,10 +4954,11 @@ static BOOL WINAPI CRYPT_AsnDecodeEnumerated(DWORD dwCertEncodingType,
static
BOOL
CRYPT_AsnDecodeTimeZone
(
const
BYTE
*
pbEncoded
,
DWORD
len
,
SYSTEMTIME
*
sysTime
)
{
BOOL
ret
=
TRUE
;
BOOL
ret
;
__TRY
{
ret
=
TRUE
;
if
(
len
>=
3
&&
(
*
pbEncoded
==
'+'
||
*
pbEncoded
==
'-'
))
{
WORD
hours
,
minutes
=
0
;
...
...
@@ -5020,7 +5022,7 @@ static BOOL WINAPI CRYPT_AsnDecodeUtcTime(DWORD dwCertEncodingType,
LPCSTR
lpszStructType
,
const
BYTE
*
pbEncoded
,
DWORD
cbEncoded
,
DWORD
dwFlags
,
PCRYPT_DECODE_PARA
pDecodePara
,
void
*
pvStructInfo
,
DWORD
*
pcbStructInfo
)
{
BOOL
ret
=
TRUE
;
BOOL
ret
;
if
(
!
pvStructInfo
)
{
...
...
@@ -5029,6 +5031,7 @@ static BOOL WINAPI CRYPT_AsnDecodeUtcTime(DWORD dwCertEncodingType,
}
__TRY
{
ret
=
TRUE
;
if
(
pbEncoded
[
0
]
==
ASN_UTCTIME
)
{
if
(
cbEncoded
<=
1
)
...
...
@@ -5108,7 +5111,7 @@ static BOOL WINAPI CRYPT_AsnDecodeGeneralizedTime(DWORD dwCertEncodingType,
LPCSTR
lpszStructType
,
const
BYTE
*
pbEncoded
,
DWORD
cbEncoded
,
DWORD
dwFlags
,
PCRYPT_DECODE_PARA
pDecodePara
,
void
*
pvStructInfo
,
DWORD
*
pcbStructInfo
)
{
BOOL
ret
=
TRUE
;
BOOL
ret
;
if
(
!
pvStructInfo
)
{
...
...
@@ -5117,6 +5120,7 @@ static BOOL WINAPI CRYPT_AsnDecodeGeneralizedTime(DWORD dwCertEncodingType,
}
__TRY
{
ret
=
TRUE
;
if
(
pbEncoded
[
0
]
==
ASN_GENERALTIME
)
{
if
(
cbEncoded
<=
1
)
...
...
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