coverity#1130357 Dereference after null check

Change-Id: I6b4735134bb9910fbad3cd4696b159f9f6d93df7
coverity#1078550 Dereference after null check

Change-Id: I51852cba8b061f3b1dee4875f8daf0e0205e2211
coverity#707910 Uninitialized scalar field

Change-Id: I991261053026d931bccb3a1429ccfcac136cfd94