coverity#704900 Dereference after null check

Change-Id: I5ffac44f4fa48be0a4158c9eb234e94d2a22f5ed
coverity#1194918 Overflowed array index read

Change-Id: Ic9cec3fc6749672b30bb1e0c96159897e50a84e5
coverity#1194920 Overflowed array index read

Change-Id: I2f5dc0c4cd56e8304ef3dcd83221a1428fdda194
coverity#1194942 Uninitialized scalar field

Change-Id: I21733cb3fc0dd32a39826b0eaa7b2064d50a9c90
coverity#1194941 Uninitialized scalar field

Change-Id: Ieedd977bc45136f087639b8d785fd75335b49087
coverity#1194898 Logically dead code

Change-Id: Iceef129ed11ab4551008eedf765ec0fe5a72c09a