mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 18:54:02 +00:00
[host] app: zero memory allocated for lgmp userdata
This commit is contained in:
@@ -552,6 +552,7 @@ static void * allocUserData(KVMFRUserData * dst, size_t need, bool consume)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
memset(dst->data + dst->size, 0, newSize - dst->size);
|
||||
dst->size = newSize;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user