coverity#705919 Dereference before null check

Change-Id: I3bd5c35e6c9dcee0833dd3f5b15dec064b525d0a
coverity#705920 Dereference before null check

Change-Id: I2b6cbd482a13b026c6fe1caa8a115b90ef62b1c4
coverity#705940 Dereference before null check

Change-Id: Ib47e07a7b37917e68c5b49b49254b38976bd497e
coverity#705951 Dereference before null check

Change-Id: I457c7787378dad1cceccb9e5f84786575a6e2cd8
coverity#705430 Improper use of negative value

Change-Id: Ia97bc71328d095f7f36d1d53027bd2bb16a9a60f
coverity#705442 Improper use of negative value

Change-Id: If039b52c96fd9c902f72c17b13442ddd7f68f13f
coverity#736099 Improper use of negative value

Change-Id: I065a8074fcafba123898c70eded464aa108e2e9e
coverity#705159 Missing break in switch

Change-Id: I61975ae42519d2fc9e0074a32ad2a504c6821641
coverity#705160 Missing break in switch

Change-Id: I7be86ec16743dd8342cd82c9fcd089cb36d668ce
coverity#707964 Uninitialized scalar field

Change-Id: I051e5ae4200563426d810e9a4d94ab02fb8ccf51
coverity#982784 Unintentional integer overflow

Change-Id: Ib50e0987adf419ecdd569fc5dd5c8b2b1e246e2f