IRelationshipClass::GetRelationshipsForObjectSet method will crash ArcMap if there are no relationships in the relationship class and the destination table of the relationship is empty.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM003129
已提交
June 22, 2006
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
9.1
修正版本
9.3
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
use ITable::RowCount to determine if destination table is empty, if it is empty, don't execute the IRelationshipClass::GetRelationshipsForObjectSet method.