After free(p), every pointer that held the block’s address is a dangling pointer: it still holds the number, but the block is no longer the program’s. Reading or writing through it is a use after free; passing it to free again is a double free. Both are undefined behaviour.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Dangling pointer, use after free, double free?
又称: dangling pointer · use after free · double free