spapr: fix potential segfault due to uninitialized Error*
PATCH 1/1 spapr: fix potential segfault due to uninitialized Error*
Introduced by 361f93e.
Signed-off-by Michael Roth <[email protected]>
--- hw/ppc/spapr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/ppc/spapr.c +1 -1
@@ -111,7 +111,7 @@ sPAPREnvironment *spapr;static XICSState *try_create_xics (const char *type,int nr_servers,int nr_irqs,Error **errp) { -Error *err; +Error *err =NULL ;DeviceState *dev; dev =qdev_create (NULL , type);
Signature · 1 line
1.9.1
Quoted 3 lines · Michael Roth
Introduced by 361f93e.
Signed-off-by Michael Roth <[email protected]>
Reviewed-by Markus Armbruster <[email protected]>
Since it hasn't been merged into master: can we still squash this into my broken commit?
Quoted 11 lines · Markus Armbruster
Quoted 3 lines · Michael Roth
Introduced by 361f93e.
Signed-off-by Michael Roth <[email protected]>Reviewed-by Markus Armbruster <[email protected]>Since it hasn't been merged into master: can we still squash this into my broken commit?
Thanks, squashed into the broken commit.
Alex