将如下代码
indirect_symbol_bindings[i] = cur->rebindings[j].replacement;
替换为
if(i < (sizeof(indirect_symbol_bindings) /sizeof(indirect_symbol_bindings[0]))) {
indirect_symbol_bindings[i] = cur->rebindings[j].replacement;
}
网友评论