How to avoid subtle bugs in malloc usage in C

By Dmitry Kabanov