Object.Open dereferenced the response's ContentLength pointer without checking it. The OCI SDK leaves ContentLength nil when the server replies without a Content-Length header or ContentRange which caused a nil pointer panic. Now the size is only updated when the response actually provides one, leaving the size from the object metadata in place otherwise. This also fixes the same potential problem in the newObject code.