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