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
d6201e23
Commit
d6201e23
authored
Feb 27, 2006
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 28, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Don't access a blob after freeing it.
parent
5ca51970
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
oid.c
dlls/crypt32/oid.c
+1
-1
store.c
dlls/crypt32/store.c
+1
-1
No files found.
dlls/crypt32/oid.c
View file @
d6201e23
...
...
@@ -85,7 +85,6 @@ static void free_function_sets(void)
list_remove
(
&
setCursor
->
next
);
CryptMemFree
(
setCursor
->
name
);
CryptMemFree
(
setCursor
);
LIST_FOR_EACH_ENTRY_SAFE
(
functionCursor
,
funcNext
,
&
setCursor
->
functions
,
struct
OIDFunction
,
next
)
{
...
...
@@ -93,6 +92,7 @@ static void free_function_sets(void)
CryptMemFree
(
functionCursor
);
}
DeleteCriticalSection
(
&
setCursor
->
cs
);
CryptMemFree
(
setCursor
);
}
DeleteCriticalSection
(
&
funcSetCS
);
}
...
...
dlls/crypt32/store.c
View file @
d6201e23
...
...
@@ -534,8 +534,8 @@ static BOOL WINAPI CRYPT_MemDeleteCert(HCERTSTORE hCertStore,
* protected.
*/
list_remove
(
&
cert
->
entry
);
ret
=
CertFreeCertificateContext
((
PCCERT_CONTEXT
)
cert
);
cert
->
entry
.
prev
=
cert
->
entry
.
next
=
&
store
->
certs
;
ret
=
CertFreeCertificateContext
((
PCCERT_CONTEXT
)
cert
);
break
;
}
}
...
...
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