coverity#1194893 mismerge (Logically dead code)

regression since 6e61ecd09679a66060f932835622821d39e92f01
mismerge of b635b4fa4e42053d30ab639643d2236a20243f62

Change-Id: Ib83ca9b8ce09abd1de22ca063f8263da7196d741
coverity#1194894 Logically dead code

Change-Id: Ib55520d0cf5b4c37e8358aa0b4a1ab68f7c3a0e5
coverity#1194897 Logically dead code

Change-Id: I4cf8d63822c4a68b7cdc126a8d76c1ce7b064655
coverity#1194915 Integer overflowed argument

Change-Id: I6c05a1094fcf3dd51079a6b67ee02b31cc2c6a6c
coverity#1194908 Explicit null dereferenced

Change-Id: I404d9990a060ef38915af126bf239136a9d00af2
coverity#1194912 Overflowed return value

Change-Id: Ia32931ddb122e31bcd1cb18ecca694ae562d5d7f
coverity#1194913 Overflowed return value

Change-Id: I4fc25ec677167a064c349d250352576490fcedcd
coverity#1194916 Overflowed return value

Change-Id: I26614f6d95276ec2b3b57301bd38ac53ea8f225d
coverity#1194917 Overflowed return value

Change-Id: I87a8b8ec70a11f88dc225392964707f582905805
coverity#1194919 Overflowed return value

Change-Id: I57c8bdba2762e512104346c02d1e7d7d26423bd0
coverity#1194921 Overflowed return value

Change-Id: I872835c3a20eda807d571fa27794dbe2bf858e7a
coverity#1194922 Overflowed return value

Change-Id: Id00dc5b37685ac81125e5ed075680c4dab2426c9
coverity#1194929 String not null terminated

Change-Id: I749f4cb8340b4642040baed7f3363e2f1e4b65ad
coverity#1194904 Explicit null dereferenced

Change-Id: I50c6547206a33d3f8e06688c99ccf7bffbc75bfc
coverity#1194905 Explicit null dereferenced

Change-Id: I397765007afb9bc8fdb7cd224c31fdcda924de17