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:
1cc739f
)
Fixed double free in license_free_binary_blob
author
Armin Novak
<armin.novak@thincast.com>
Wed, 21 Nov 2018 14:03:42 +0000
(15:03 +0100)
committer
Armin Novak
<armin.novak@thincast.com>
Wed, 21 Nov 2018 14:07:36 +0000
(15:07 +0100)
libfreerdp/core/license.c
patch
|
blob
|
history
diff --git
a/libfreerdp/core/license.c
b/libfreerdp/core/license.c
index
f15c7c2
..
bc39648
100644
(file)
--- a/
libfreerdp/core/license.c
+++ b/
libfreerdp/core/license.c
@@
-689,13
+689,11
@@
static BOOL license_rc4_with_licenseKey(const rdpLicense* license, const BYTE *i
target->length = len;
if (!winpr_RC4_Update(rc4, len, input, buffer))
- goto error_
update
;
+ goto error_
buffer
;
winpr_RC4_Free(rc4);
return TRUE;
-error_update:
- free(buffer);
error_buffer:
winpr_RC4_Free(rc4);
return FALSE;