mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-26 03:22:08 +03:00
libostree: Fix potential use of uninitialised memory in progress API
Signed-off-by: Philip Withnall <withnall@endlessm.com> Closes: #835 Approved by: cgwalters
This commit is contained in:
parent
59897f2b84
commit
f1da7ec300
@ -331,6 +331,8 @@ ostree_async_progress_set (OstreeAsyncProgress *self,
|
||||
if (self->dead)
|
||||
goto out;
|
||||
|
||||
changed = FALSE;
|
||||
|
||||
va_start (ap, self);
|
||||
|
||||
for (key = va_arg (ap, const char *), format_string = va_arg (ap, const char *);
|
||||
|
Loading…
Reference in New Issue
Block a user