mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-24 19:19:48 +02:00
galaxy requested changes
This commit is contained in:
1 parent
23b76ec6d7
commit
4692a33dc0
6 files changed
+48
-17
No files matched your search
@@ -205,7 +205,7 @@ int lockdown_get_string_value(int fd, const char* domain, const char* key, char*
|
||||
}
|
||||
size_t str_len = p - str_start;
|
||||
*value = (char*)malloc(str_len + 1);
|
||||
strncpy(*value, str_start, str_len);
|
||||
snprintf(*value, str_len, "%s", str_start);
|
||||
(*value)[str_len] = '\0';
|
||||
free(resp);
|
||||
|
||||
|
||||
Reference in new issue
Block a user