[util] fix dt buffer crash bug