Back

C++ STL中vector::push_back浅拷贝导致的double free

double free发生的原理:

https://blog.csdn.net/swartz_lubel/article/details/79493020

使用拷贝构造去解决:

https://www.cnblogs.com/alantu2018/p/8459250.html

Submit