projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d3f658
)
Fixed missing NULL set of pointer after free
author
Armin Novak
<armin.novak@thincast.com>
Tue, 21 Jan 2020 13:40:33 +0000
(14:40 +0100)
committer
Armin Novak
<armin.novak@thincast.com>
Tue, 21 Jan 2020 13:44:21 +0000
(14:44 +0100)
Due to this double free was possible if disconnect_and_clear was
called multiple times.
libfreerdp/core/connection.c
patch
|
blob
|
history
diff --git
a/libfreerdp/core/connection.c
b/libfreerdp/core/connection.c
index
ab613b3
..
3643d0f
100644
(file)
--- a/
libfreerdp/core/connection.c
+++ b/
libfreerdp/core/connection.c
@@
-394,6
+394,7
@@
BOOL rdp_client_disconnect(rdpRdp* rdp)
return FALSE;
codecs_free(context->codecs);
+ context->codecs = NULL;
return TRUE;
}