mirror of
https://github.com/systemd/systemd.git
synced 2026-08-12 22:17:19 +00:00
openssl-util: avoid freeing invalid pointer
This commit is contained in:
@@ -1109,7 +1109,7 @@ int string_hashsum(
|
||||
|
||||
_cleanup_free_ void *hash = NULL;
|
||||
size_t hash_size;
|
||||
_cleanup_free_ char *enc;
|
||||
_cleanup_free_ char *enc = NULL;
|
||||
int r;
|
||||
|
||||
assert(s || len == 0);
|
||||
|
||||
Reference in New Issue
Block a user