fill buffer allocated by LMN_MALLOC with 0