mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 13:28:27 +00:00
restore: initialize uninitialized pointer
Closes #115 Reported-by: Coverity Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
parent
66de7ceb14
commit
ab04ddc567
@ -2822,7 +2822,7 @@ rst_prep_creds_args(CredsEntry *ce, unsigned long *prev_pos)
|
||||
memcpy(&args->creds, ce, sizeof(args->creds));
|
||||
|
||||
if (ce->lsm_profile || opts.lsm_supplied) {
|
||||
char *rendered, *profile;
|
||||
char *rendered = NULL, *profile;
|
||||
|
||||
profile = ce->lsm_profile;
|
||||
if (opts.lsm_supplied)
|
||||
|
Loading…
x
Reference in New Issue
Block a user