Assorted compiler warning cleanups
Cleans up a bunch of compiler & static analysis warnings from gcc 14.1:
-
IceOpenConnection
: stop processing messages if connection was closed -
ConnectToPeer
: return failure ifmalloc()
fails -
EXTRACT_STRING
: Avoid writing to NULL pointer ifmalloc
fails -
_IceAddOpcodeMapping
: Avoid writing to NULL pointer ifmalloc
fails - Clear some
-Wuseless-cast
warnings from gcc 14.1 -
IceReadCompleteMessage
: callers need to check ifmalloc()
failed -
ProcessConnectionSetup
: avoid writing to NULL pointer ifmalloc()
failed -
ProcessProtocolSetup
: return failure ifmalloc()
failed forProtocolName
-
IceProtocolSetup
: return failure ifmalloc()
failed forauthIndices
-
IceRegisterForProtocolSetup
: return failure ifmalloc()
failed