Closed metthal closed 2 years ago
It's unnecessary to allocate anything when the size of the buffer is declared to be 0 bytes. It might lead to issues where condition over data pointer can lead to invalid memory access.
It's unnecessary to allocate anything when the size of the buffer is declared to be 0 bytes. It might lead to issues where condition over data pointer can lead to invalid memory access.